PebbleOS
Loading...
Searching...
No Matches
Data Structures | Enumerations
music_endpoint_types.h File Reference
#include <stdint.h>
#include <pbl/kernel/compiler.h>

Data Structures

struct  MusicEndpointPlayStateInfo
 Payload of MusicEndpointCmdIDPlayStateInfoResponse. More...
 

Enumerations

enum  MusicEndpointCmdID {
  MusicEndpointCmdIDTogglePlayPause = 0x1 , MusicEndpointCmdIDPause = 0x2 , MusicEndpointCmdIDPlay = 0x3 , MusicEndpointCmdIDNextTrack = 0x4 ,
  MusicEndpointCmdIDPreviousTrack = 0x5 , MusicEndpointCmdIDVolumeUp = 0x6 , MusicEndpointCmdIDVolumeDown = 0x7 , MusicEndpointCmdIDGetAllInfo = 0x8 ,
  MusicEndpointCmdIDNowPlayingInfoResponse = 0x10 , MusicEndpointCmdIDPlayStateInfoResponse = 0x11 , MusicEndpointCmdIDVolumeInfoResponse = 0x12 , MusicEndpointCmdIDPlayerInfoResponse = 0x13 ,
  MusicEndpointCmdIDInvalid = 0xff
}
 Music endpoint message identifier, the first byte of every message. More...
 
enum  MusicEndpointPlaybackState {
  MusicEndpointPlaybackStatePaused = 0 , MusicEndpointPlaybackStatePlaying = 1 , MusicEndpointPlaybackStateRewinding = 2 , MusicEndpointPlaybackStateForwarding = 3 ,
  MusicEndpointPlaybackStateUnknown = 4
}
 Playback state on the wire. More...
 
enum  MusicEndpointShuffleMode { MusicEndpointShuffleModeUnknown = 0 , MusicEndpointShuffleModeOff = 1 , MusicEndpointShuffleModeOn = 2 }
 Shuffle mode on the wire. More...
 
enum  MusicEndpointRepeatMode { MusicEndpointRepeatModeUnknown = 0 , MusicEndpointRepeatModeOff = 1 , MusicEndpointRepeatModeOne = 2 , MusicEndpointRepeatModeAll = 3 }
 Repeat mode on the wire. More...
 
enum  MusicEndpointSkipSeeksFlag { MusicEndpointSkipSeeksWithinTrack = (1 << 0) }
 Bits of the optional byte trailing MusicEndpointPlayStateInfo. More...