Tizen Native API
|
Functions | |
int | telephony_call_get_voice_call_state (telephony_h handle, telephony_call_state_e *call_state) |
Gets the voice call state of the telephony service. | |
int | telephony_call_get_video_call_state (telephony_h handle, telephony_call_state_e *call_state) |
Gets the video call state of the telephony service. |
The Call API provides functions to check the state of voice and video calls.
#include <telephony.h>
The Telephony Call API allows you to get the voice and videos call states. You can use this information about call related actions.
This API is related with the following feature:
It is recommended to design feature related codes in your application for reliability.
You can check if a device supports the related features for this API by using System Information, thereby controlling the procedure of your application.
To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.
More details on featuring your application can be found from Feature Element.
Enumeration for the call state.
int telephony_call_get_video_call_state | ( | telephony_h | handle, |
telephony_call_state_e * | call_state | ||
) |
Gets the video call state of the telephony service.
Determines if the video call is connecting, connected, or idle.
[in] | handle | The handle from telephony_init() |
[out] | call_state | The current state of the video call |
0
on success, otherwise a negative error valueTELEPHONY_ERROR_NONE | Successful |
TELEPHONY_ERROR_INVALID_PARAMETER | Invalid parameter |
TELEPHONY_ERROR_PERMISSION_DENIED | Permission denied |
TELEPHONY_ERROR_NOT_SUPPORTED | Not supported |
TELEPHONY_ERROR_OPERATION_FAILED | Operation failed |
int telephony_call_get_voice_call_state | ( | telephony_h | handle, |
telephony_call_state_e * | call_state | ||
) |
Gets the voice call state of the telephony service.
Determines if the voice call is connecting, connected, or idle.
[in] | handle | The handle from telephony_init() |
[out] | call_state | The current state of the voice call |
0
on success, otherwise a negative error valueTELEPHONY_ERROR_NONE | Successful |
TELEPHONY_ERROR_INVALID_PARAMETER | Invalid parameter |
TELEPHONY_ERROR_PERMISSION_DENIED | Permission denied |
TELEPHONY_ERROR_NOT_SUPPORTED | Not supported |
TELEPHONY_ERROR_OPERATION_FAILED | Operation failed |