All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 
97 #ifndef LE_VOICECALL_H_INCLUDE_GUARD
98 #define LE_VOICECALL_H_INCLUDE_GUARD
99 
100 
101 #include "legato.h"
102 
103 // Interface specific includes
104 #include "le_audio_interface.h"
105 
106 
107 //--------------------------------------------------------------------------------------------------
111 //--------------------------------------------------------------------------------------------------
113 (
114  const char* serviceInstanceName
116 );
117 
118 //--------------------------------------------------------------------------------------------------
122 //--------------------------------------------------------------------------------------------------
124 (
125  void
126 );
127 
128 
129 //--------------------------------------------------------------------------------------------------
133 //--------------------------------------------------------------------------------------------------
134 typedef struct le_voicecall_Call* le_voicecall_CallRef_t;
135 
136 
137 //--------------------------------------------------------------------------------------------------
142 //--------------------------------------------------------------------------------------------------
143 typedef enum
144 {
148 
151 
154 
157 
160 
163 
166 }
168 
169 
170 //--------------------------------------------------------------------------------------------------
175 //--------------------------------------------------------------------------------------------------
176 typedef enum
177 {
180 
183 
186 
189 
192 
195 }
197 
198 
199 //--------------------------------------------------------------------------------------------------
203 //--------------------------------------------------------------------------------------------------
204 typedef struct le_voicecall_StateHandler* le_voicecall_StateHandlerRef_t;
205 
206 
207 //--------------------------------------------------------------------------------------------------
220 //--------------------------------------------------------------------------------------------------
221 typedef void (*le_voicecall_StateHandlerFunc_t)
222 (
223  le_voicecall_CallRef_t reference,
224  const char* identifier,
225  le_voicecall_Event_t event,
226  void* contextPtr
227 );
228 
229 //--------------------------------------------------------------------------------------------------
233 //--------------------------------------------------------------------------------------------------
235 (
238 
239  void* contextPtr
241 );
242 
243 //--------------------------------------------------------------------------------------------------
247 //--------------------------------------------------------------------------------------------------
249 (
250  le_voicecall_StateHandlerRef_t addHandlerRef
252 );
253 
254 //--------------------------------------------------------------------------------------------------
262 //--------------------------------------------------------------------------------------------------
264 (
265  const char* DestinationID
268 );
269 
270 //--------------------------------------------------------------------------------------------------
278 //--------------------------------------------------------------------------------------------------
280 (
281  le_voicecall_CallRef_t reference
284 );
285 
286 //--------------------------------------------------------------------------------------------------
294 //--------------------------------------------------------------------------------------------------
296 (
297  le_voicecall_CallRef_t reference
300 );
301 
302 //--------------------------------------------------------------------------------------------------
310 //--------------------------------------------------------------------------------------------------
312 (
313  le_voicecall_CallRef_t reference
316 );
317 
318 //--------------------------------------------------------------------------------------------------
327 //--------------------------------------------------------------------------------------------------
329 (
330  le_voicecall_CallRef_t reference,
333 
337 );
338 
339 //--------------------------------------------------------------------------------------------------
346 //--------------------------------------------------------------------------------------------------
348 (
349  le_voicecall_CallRef_t reference
352 );
353 
354 //--------------------------------------------------------------------------------------------------
361 //--------------------------------------------------------------------------------------------------
363 (
364  le_voicecall_CallRef_t reference
367 );
368 
369 
370 #endif // LE_VOICECALL_H_INCLUDE_GUARD
371 
Local party ended the call.
Definition: le_voicecall_interface.h:190
le_result_t le_voicecall_End(le_voicecall_CallRef_t reference)
le_result_t
Definition: le_basics.h:34
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:161
struct le_audio_Stream * le_audio_StreamRef_t
Definition: le_audio_interface.h:488
le_voicecall_StateHandlerRef_t le_voicecall_AddStateHandler(le_voicecall_StateHandlerFunc_t handlerPtr, void *contextPtr)
Undefined reason.
Definition: le_voicecall_interface.h:178
void le_voicecall_RemoveStateHandler(le_voicecall_StateHandlerRef_t addHandlerRef)
Definition: le_voicecall_interface.h:145
Remote address could not be resolved.
Definition: le_voicecall_interface.h:184
struct le_voicecall_StateHandler * le_voicecall_StateHandlerRef_t
Definition: le_voicecall_interface.h:204
le_voicecall_CallRef_t le_voicecall_Start(const char *DestinationID)
struct le_voicecall_Call * le_voicecall_CallRef_t
Definition: le_voicecall_interface.h:134
le_audio_StreamRef_t le_voicecall_GetRxAudioStream(le_voicecall_CallRef_t reference)
Call has terminated.
Definition: le_voicecall_interface.h:152
le_audio_StreamRef_t le_voicecall_GetTxAudioStream(le_voicecall_CallRef_t reference)
le_voicecall_Event_t
Definition: le_voicecall_interface.h:143
void le_voicecall_StartClient(const char *serviceInstanceName)
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:149
Caller is currently busy and cannot take the call.
Definition: le_voicecall_interface.h:187
NO Service available to try establish a voice call.
Definition: le_voicecall_interface.h:155
Incoming voice call in progress.
Definition: le_voicecall_interface.h:164
Remote party (callee) is busy.
Definition: le_voicecall_interface.h:158
Network could not complete the call.
Definition: le_voicecall_interface.h:181
le_voicecall_TerminationReason_t
Definition: le_voicecall_interface.h:176
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:222
void le_voicecall_StopClient(void)
Remote party ended the call.
Definition: le_voicecall_interface.h:193
le_result_t le_voicecall_Answer(le_voicecall_CallRef_t reference)