audio_manager_get_voice_service_from_name()

Get the audio voice service when the name of the service is specified.

Synopsis:

#include <audio/audio_manager_voice_service.h>
 
audio_manager_voice_service_t audio_manager_get_voice_service_from_name(const char *name)

Since:

BlackBerry 10.0.0

Arguments:

name

The name of the service to query.

Library:

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

Description:

Use the audio_manager_get_voice_service_from_name() to return the audio_manager_voice_service_t value that matches the provided name of the audio voice service.

Returns:

The audio voice service identifier. A value of -1 is returned if the name is not found.