audio_manager_get_event_context()

Allocate the event context.

Synopsis:

#include <audio/audio_manager_event.h>
 
int audio_manager_get_event_context(audio_manager_event_context_t **context)

Since:

BlackBerry 10.0.0

Arguments:

context

The context that's returned.

Library:

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

Description:

Use audio_manager_get_event_context() to allocate the context. The context is required to allow for the delivery of events.

Returns:

EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.