le_voicecall_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
93 #ifndef LE_VOICECALL_INTERFACE_H_INCLUDE_GUARD
94 #define LE_VOICECALL_INTERFACE_H_INCLUDE_GUARD
95 
96 
97 #include "legato.h"
98 
99 // Interface specific includes
100 #include "le_mdmDefs_interface.h"
101 #include "le_audio_interface.h"
102 
103 
104 //--------------------------------------------------------------------------------------------------
115 //--------------------------------------------------------------------------------------------------
117 (
118  void
119 );
120 
121 //--------------------------------------------------------------------------------------------------
132 //--------------------------------------------------------------------------------------------------
134 (
135  void
136 );
137 
138 
139 //--------------------------------------------------------------------------------------------------
143 //--------------------------------------------------------------------------------------------------
144 typedef struct le_voicecall_Call* le_voicecall_CallRef_t;
145 
146 
147 //--------------------------------------------------------------------------------------------------
151 //--------------------------------------------------------------------------------------------------
152 typedef enum
153 {
157 
160 
163 
166 
169 
172 
175 
178 
181 }
183 
184 
185 //--------------------------------------------------------------------------------------------------
189 //--------------------------------------------------------------------------------------------------
190 typedef enum
191 {
194 
197 
200 
203 
206 
209 }
211 
212 
213 //--------------------------------------------------------------------------------------------------
217 //--------------------------------------------------------------------------------------------------
218 typedef struct le_voicecall_StateHandler* le_voicecall_StateHandlerRef_t;
219 
220 
221 //--------------------------------------------------------------------------------------------------
233 //--------------------------------------------------------------------------------------------------
234 typedef void (*le_voicecall_StateHandlerFunc_t)
235 (
236  le_voicecall_CallRef_t reference,
237  const char* identifier,
238  le_voicecall_Event_t event,
239  void* contextPtr
240 );
241 
242 //--------------------------------------------------------------------------------------------------
248 //--------------------------------------------------------------------------------------------------
250 (
253 
254  void* contextPtr
256 );
257 
258 //--------------------------------------------------------------------------------------------------
262 //--------------------------------------------------------------------------------------------------
264 (
265  le_voicecall_StateHandlerRef_t addHandlerRef
267 );
268 
269 //--------------------------------------------------------------------------------------------------
277 //--------------------------------------------------------------------------------------------------
279 (
280  const char* DestinationID
283 );
284 
285 //--------------------------------------------------------------------------------------------------
293 //--------------------------------------------------------------------------------------------------
295 (
296  le_voicecall_CallRef_t reference
299 );
300 
301 //--------------------------------------------------------------------------------------------------
310 //--------------------------------------------------------------------------------------------------
312 (
313  le_voicecall_CallRef_t reference
316 );
317 
318 //--------------------------------------------------------------------------------------------------
326 //--------------------------------------------------------------------------------------------------
328 (
329  le_voicecall_CallRef_t reference
332 );
333 
334 //--------------------------------------------------------------------------------------------------
343 //--------------------------------------------------------------------------------------------------
345 (
346  le_voicecall_CallRef_t reference,
349 
353 );
354 
355 //--------------------------------------------------------------------------------------------------
362 //--------------------------------------------------------------------------------------------------
364 (
365  le_voicecall_CallRef_t reference
368 );
369 
370 //--------------------------------------------------------------------------------------------------
377 //--------------------------------------------------------------------------------------------------
379 (
380  le_voicecall_CallRef_t reference
383 );
384 
385 
386 #endif // LE_VOICECALL_INTERFACE_H_INCLUDE_GUARD
387 
Local party ended the call.
Definition: le_voicecall_interface.h:201
le_result_t le_voicecall_End(le_voicecall_CallRef_t reference)
le_result_t
Definition: le_basics.h:35
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:170
struct le_audio_Stream * le_audio_StreamRef_t
Definition: le_audio_interface.h:581
le_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:154
Remote address could not be resolved.
Definition: le_voicecall_interface.h:195
struct le_voicecall_StateHandler * le_voicecall_StateHandlerRef_t
Definition: le_voicecall_interface.h:218
void(* le_voicecall_StateHandlerFunc_t)(le_voicecall_CallRef_t reference, const char *identifier, le_voicecall_Event_t event, void *contextPtr)
Definition: le_voicecall_interface.h:235
le_voicecall_CallRef_t le_voicecall_Start(const char *DestinationID)
struct le_voicecall_Call * le_voicecall_CallRef_t
Definition: le_voicecall_interface.h:144
le_audio_StreamRef_t le_voicecall_GetRxAudioStream(le_voicecall_CallRef_t reference)
Call has terminated.
Definition: le_voicecall_interface.h:161
le_audio_StreamRef_t le_voicecall_GetTxAudioStream(le_voicecall_CallRef_t reference)
le_voicecall_Event_t
Definition: le_voicecall_interface.h:152
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:158
void le_voicecall_ConnectService(void)
Caller is currently busy and cannot take the call.
Definition: le_voicecall_interface.h:198
Call answering failed.
Definition: le_voicecall_interface.h:176
NO Service available to try establish a voice call.
Definition: le_voicecall_interface.h:164
Undefined reason.
Definition: le_voicecall_interface.h:207
Incoming voice call in progress.
Definition: le_voicecall_interface.h:179
Call ending failed.
Definition: le_voicecall_interface.h:173
Remote party (callee) is busy.
Definition: le_voicecall_interface.h:167
Network could not complete the call.
Definition: le_voicecall_interface.h:192
void le_voicecall_DisconnectService(void)
le_voicecall_TerminationReason_t
Definition: le_voicecall_interface.h:190
Remote party ended the call.
Definition: le_voicecall_interface.h:204
le_result_t le_voicecall_Answer(le_voicecall_CallRef_t reference)