Retrieve the dependency of the audio device specified in an audio device information structure.
#include <bps/audiodevice.h>
BPS_API audiodevice_device_t audiodevice_info_get_dependency(audiodevice_info_t *info)
BlackBerry 10.0.0
The audiodevice_info_t structure to get the dependency from.
The audiodevice_info_get_dependency() function gets the dependency of the audio device in the specified audiodevice_info_t structure. The device has no effect unless the dependency is also connected. If there is no dependency, this function will return a value of AUDIODEVICE_DEVICE_UNRECOGNIZED.
The dependency or AUDIODEVICE_DEVICE_UNRECOGNIZED if there is no dependency.