media_state_t

Media states.

Synopsis:

#include <bps/mediacommon.h>
 
typedef enum {
      MEDIA_STATE_UNRECOGNIZED =  0   
      MEDIA_STATE_STOPPED =  1   
      MEDIA_STATE_PAUSED =  2   
      MEDIA_STATE_PLAYING =  3   
      MEDIA_STATE_TRACK_CHANGE =  4   
} media_state_t;

Since:

BlackBerry 10.0.0

Data:

MEDIA_STATE_UNRECOGNIZED
An unrecognized media state (not one listed below).
MEDIA_STATE_STOPPED
The media is stopped.
MEDIA_STATE_PAUSED
The media is paused.
MEDIA_STATE_PLAYING
The media is playing.
MEDIA_STATE_TRACK_CHANGE
The media has changed track.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

This enumeration defines the available media states.