le_voicecall_interface.h
Go to the documentation of this file.
34 * A voice call can be started using le_voicecall_Start() with the destination identifier passed as41 * indicating it's now connected. If the state of the voice call changes, then the handler will be78 * Application have to use le_voicecall_Delete() to release @ref le_voicecall_CallRef_t voice call104 //--------------------------------------------------------------------------------------------------107 * Connect the current client thread to the service providing this API. Block until the service is110 * For each thread that wants to use this API, either ConnectService or TryConnectService must be111 * called before any other functions in this API. Normally, ConnectService is automatically called116 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------125 * Try to connect the current client thread to the service providing this API. Return with an error128 * For each thread that wants to use this API, either ConnectService or TryConnectService must be129 * called before any other functions in this API. Normally, ConnectService is automatically called136 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.137 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).140 //--------------------------------------------------------------------------------------------------146 //--------------------------------------------------------------------------------------------------152 * longer a connection to the service, and the functions in this API can't be used. For details, see157 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------168 //--------------------------------------------------------------------------------------------------172 //--------------------------------------------------------------------------------------------------176 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------214 //--------------------------------------------------------------------------------------------------238 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------246 //--------------------------------------------------------------------------------------------------258 //--------------------------------------------------------------------------------------------------260 (267 //--------------------------------------------------------------------------------------------------273 //--------------------------------------------------------------------------------------------------283 //--------------------------------------------------------------------------------------------------287 //--------------------------------------------------------------------------------------------------294 //--------------------------------------------------------------------------------------------------302 //--------------------------------------------------------------------------------------------------309 //--------------------------------------------------------------------------------------------------317 //--------------------------------------------------------------------------------------------------324 //--------------------------------------------------------------------------------------------------333 //--------------------------------------------------------------------------------------------------340 //--------------------------------------------------------------------------------------------------348 //--------------------------------------------------------------------------------------------------355 //--------------------------------------------------------------------------------------------------364 //--------------------------------------------------------------------------------------------------374 //--------------------------------------------------------------------------------------------------381 //--------------------------------------------------------------------------------------------------388 //--------------------------------------------------------------------------------------------------395 //--------------------------------------------------------------------------------------------------le_result_t le_voicecall_TryConnectService(void)le_result_t le_voicecall_End(le_voicecall_CallRef_t reference)le_result_t le_voicecall_Delete(le_voicecall_CallRef_t reference)All local connection resources (lines/channels) are in use.Definition: le_voicecall_interface.h:195struct le_audio_Stream * le_audio_StreamRef_tDefinition: le_audio_interface.h:584le_voicecall_StateHandlerRef_t le_voicecall_AddStateHandler(le_voicecall_StateHandlerFunc_t handlerPtr, void *contextPtr)void le_voicecall_RemoveStateHandler(le_voicecall_StateHandlerRef_t addHandlerRef)Definition: le_voicecall_interface.h:179Remote address could not be resolved.Definition: le_voicecall_interface.h:220struct le_voicecall_StateHandler * le_voicecall_StateHandlerRef_tDefinition: le_voicecall_interface.h:243void(* le_voicecall_StateHandlerFunc_t)(le_voicecall_CallRef_t reference, const char *identifier, le_voicecall_Event_t event, void *contextPtr)Definition: le_voicecall_interface.h:260le_voicecall_CallRef_t le_voicecall_Start(const char *DestinationID)struct le_voicecall_Call * le_voicecall_CallRef_tDefinition: le_voicecall_interface.h:169le_audio_StreamRef_t le_voicecall_GetRxAudioStream(le_voicecall_CallRef_t reference)le_audio_StreamRef_t le_voicecall_GetTxAudioStream(le_voicecall_CallRef_t reference)le_result_t le_voicecall_GetTerminationReason(le_voicecall_CallRef_t reference, le_voicecall_TerminationReason_t *reasonPtr)Call has been established, and is media is active.Definition: le_voicecall_interface.h:183void le_voicecall_ConnectService(void)Caller is currently busy and cannot take the call.Definition: le_voicecall_interface.h:223Call answering failed.Definition: le_voicecall_interface.h:201NO Service available to try establish a voice call.Definition: le_voicecall_interface.h:189Incoming voice call in progress.Definition: le_voicecall_interface.h:204Network could not complete the call.Definition: le_voicecall_interface.h:217void le_voicecall_DisconnectService(void)le_voicecall_TerminationReason_tDefinition: le_voicecall_interface.h:215le_result_t le_voicecall_Answer(le_voicecall_CallRef_t reference)