Get the capabilities of an audio device.
#include <audio/audio_manager_device.h>
int audio_manager_get_device_capability(audio_manager_device_t dev, audio_manager_device_capability_t *cap_mask)
BlackBerry 10.0.0
The type of the audio device to query.
The capabilities of the audio device that are returned as a mask of audio_manager_device_capability_t.
Use audio_manager_get_device_capability() to retrieve the capabilities of the specified audio device. The capabilities indicate whether the device is capable of output, input, or both.
EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.