Media commands.
Synopsis:
#include <bps/mediacommon.h>
typedef enum {
MEDIA_COMMAND_UNRECOGNIZED = 0
MEDIA_COMMAND_PLAY = 1
MEDIA_COMMAND_PAUSE = 2
MEDIA_COMMAND_STOP = 3
MEDIA_COMMAND_NEXT_TRACK = 4
MEDIA_COMMAND_PREVIOUS_TRACK = 5
MEDIA_COMMAND_SEND_DATA = 6
MEDIA_COMMAND_HOLD_DATA = 7
MEDIA_COMMAND_FAST_FORWARD = 8
MEDIA_COMMAND_REWIND = 9
} media_command_t;
Data:
- MEDIA_COMMAND_UNRECOGNIZED
- An unrecognized media command (not one listed below).
- MEDIA_COMMAND_PLAY
- Request to play the current track.
- MEDIA_COMMAND_PAUSE
- Request to pause the current track.
- MEDIA_COMMAND_STOP
- Request to stop the current track.
- MEDIA_COMMAND_NEXT_TRACK
- Request to skip to the next track.
- MEDIA_COMMAND_PREVIOUS_TRACK
- Request to skip to the beginning of the current track, or to the previous track.
- MEDIA_COMMAND_SEND_DATA
- Request to start or resume sending metadata updates.
- MEDIA_COMMAND_HOLD_DATA
- Request to stop sending metadata updates.
- MEDIA_COMMAND_FAST_FORWARD
- Request to enter fast forward mode.
- MEDIA_COMMAND_REWIND
- Request to enter rewind mode.
Library:
libbps (For the qcc command, use the -l bps option to link against this library)
Description:
This enumeration defines the available media commands.