Get the current button states of the specified output device.
#include <audio/audio_manager_device.h>
int audio_manager_get_device_button_states(audio_manager_device_t dev, audio_manager_headset_button_state_t *state)
BlackBerry 10.0.0
The default audio device.
The current button states.
Use audio_manager_get_device_button_states() to retrieve the states of all the supported buttons of the specified device. Currently, only the type headset is supported.
EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.