media_button_t

Media buttons.

Synopsis:

#include <bps/mediacommon.h>
 
typedef enum {
      MEDIA_BUTTON_NONE =  0   
      MEDIA_BUTTON_PLUS =  1   
      MEDIA_BUTTON_MINUS =  2   
      MEDIA_BUTTON_VOLUME_UP =  3   
      MEDIA_BUTTON_VOLUME_DOWN =  4   
      MEDIA_BUTTON_PLAY =  5   
      MEDIA_BUTTON_PAUSE =  6   
      MEDIA_BUTTON_PLAY_PAUSE =  7   
      MEDIA_BUTTON_STOP =  8   
      MEDIA_BUTTON_FORWARD =  9   
      MEDIA_BUTTON_REWIND = 10   
      MEDIA_BUTTON_NEXT = 11   
      MEDIA_BUTTON_PREVIOUS = 12   
      MEDIA_BUTTON_HOOKSWITCH = 13   
} media_button_t;

Since:

BlackBerry 10.0.0

Data:

MEDIA_BUTTON_NONE
No button.
MEDIA_BUTTON_PLUS
Plus button.
MEDIA_BUTTON_MINUS
Minus button.
MEDIA_BUTTON_VOLUME_UP
Volume up button.
MEDIA_BUTTON_VOLUME_DOWN
Volume down button.
MEDIA_BUTTON_PLAY
Play button.
MEDIA_BUTTON_PAUSE
Pause button.
MEDIA_BUTTON_PLAY_PAUSE
Play/Pause button.
MEDIA_BUTTON_STOP
Stop button.
MEDIA_BUTTON_FORWARD
Forward button.
MEDIA_BUTTON_REWIND
Rewind button.
MEDIA_BUTTON_NEXT
Next button.

MEDIA_BUTTON_PREVIOUS
Previous button.

MEDIA_BUTTON_HOOKSWITCH
Hookswitch button.

Library:

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

Description:

This enumeration defines the available media buttons.