This enumeration defines the different audio devices that the audio device service supports.
#include <bps/audiodevice.h>
typedef enum {
AUDIODEVICE_DEVICE_UNRECOGNIZED = 0
AUDIODEVICE_DEVICE_MAIN = 1
AUDIODEVICE_DEVICE_HDMI = 2
AUDIODEVICE_DEVICE_SPEAKER = 3
AUDIODEVICE_DEVICE_HEADPHONE = 4
AUDIODEVICE_DEVICE_HEADSET = 5
AUDIODEVICE_DEVICE_HANDSET = 6
AUDIODEVICE_DEVICE_A2DP = 7
AUDIODEVICE_DEVICE_BTSCO = 8
AUDIODEVICE_DEVICE_HAC = 9
AUDIODEVICE_DEVICE_TOSLINK = 10
AUDIODEVICE_DEVICE_TTY = 11
AUDIODEVICE_DEVICE_LINEOUT = 12
AUDIODEVICE_NUM_DEVICES
} audiodevice_device_t;
BlackBerry 10.0.0
This device is reported by BlackBerry Tablet OS 1.0 if the audio device is either the internal speaker or the headphone jack.
This device is reported by BlackBerry 10 OS/BlackBerry Tablet OS 2.0 and later if the audio device is the internal speaker.
This device is reported by BlackBerry 10 OS/BlackBerry Tablet OS 2.0 and later if the audio device is the headphone jack.