audio_manager_get_voice_service_status_from_name()

Get the audio voice status value based when the name of the voice service status is specified.

Synopsis:

#include <audio/audio_manager_voice_service.h>
 
audio_manager_voice_service_status_t audio_manager_get_voice_service_status_from_name(const char *name)

Since:

BlackBerry 10.0.0

Arguments:

name

The name of the status to query.

Library:

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

Description:

Use audio_manager_get_voice_service_status_from_name() to return the an audio_manager_voice_service_status_t value based on the voice status string.

Returns:

The service status identifier. A value of -1 is returned the provided name can't be found.