audio_manager_device_headset_button_t

Supported audio headset button types.

Synopsis:

#include <audio/audio_manager_device.h>
 
typedef enum {
      AUDIO_HEADSET_PLAY_PAUSE   
      AUDIO_HEADSET_VOLUME_UP   
      AUDIO_HEADSET_VOLUME_DOWN   
      AUDIO_HEADSET_FORWARD   
      AUDIO_HEADSET_BACKWARD   
      AUDIO_HEADSET_BUTTON_COUNT   
} audio_manager_device_headset_button_t;

Since:

BlackBerry 10.0.0

Data:

AUDIO_HEADSET_PLAY_PAUSE
The play and pause button.

Alternatively, it can be a mute or unmute button.

AUDIO_HEADSET_VOLUME_UP
The volume up button.
AUDIO_HEADSET_VOLUME_DOWN
The volume down button.
AUDIO_HEADSET_FORWARD
The track forward button.
AUDIO_HEADSET_BACKWARD
The track backward button.
AUDIO_HEADSET_BUTTON_COUNT
The total number of headset button types that are supported.

Library:

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

Description:

This enumeration defines the supported types of the audio headset buttons.