* @remarks You must release @c call_list using telephony_call_release_call_list().
*
* @param[in] handle The handle from telephony_init()
- * @param[out] count Count of the existing calls.
- * @param[out] call_list List of call information for existing calls.
+ * @param[out] count Count of the existing calls
+ * @param[out] call_list List of call information for existing calls
*
* @return @c 0 on success,
* otherwise a negative error value
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
* @retval #TELEPHONY_ERROR_OPERATION_FAILED Operation failed
*/
-int telephony_call_get_call_list(telephony_h handle,
- unsigned int *count, telephony_call_h **call_list);
+int telephony_call_get_call_list(telephony_h handle, unsigned int *count, telephony_call_h **call_list);
+
/**
- * @brief Releases the list allocated from #telephony_call_get_call_list()
+ * @brief Releases the list allocated from #telephony_call_get_call_list().
*
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @retval #TELEPHONY_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
*
- * @pre The call list should be validated from #telephony_call_get_call_list()
+ * @pre The call list should be validated from #telephony_call_get_call_list().
*/
int telephony_call_release_call_list(unsigned int count, telephony_call_h **call_list);
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] call_handle The handle from #telephony_call_get_call_list()
- * @param[out] handle_id The id of the call handle
+ * @param[out] handle_id The ID of the call handle
*
* @return @c 0 on success,
* otherwise a negative error value
* @retval #TELEPHONY_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
*
- * @pre The call handle should be obtained from #telephony_call_get_call_list()
- * @post The call list should be released by using #telephony_call_release_call_list()
+ * @pre The call handle should be obtained from #telephony_call_get_call_list().
+ * @post The call list should be released by using #telephony_call_release_call_list().
*/
int telephony_call_get_handle_id(telephony_call_h call_handle, unsigned int *handle_id);
* @retval #TELEPHONY_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
*
- * @pre The call handle should be obtained from #telephony_call_get_call_list()
- * @post The call list should be released by using #telephony_call_release_call_list()
+ * @pre The call handle should be obtained from #telephony_call_get_call_list().
+ * @post The call list should be released by using #telephony_call_release_call_list().
*/
int telephony_call_get_number(telephony_call_h call_handle, char **number);
* @retval #TELEPHONY_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
*
- * @pre The call handle should be obtained from #telephony_call_get_call_list()
- * @post The call list should be released by using #telephony_call_release_call_list()
+ * @pre The call handle should be obtained from #telephony_call_get_call_list().
+ * @post The call list should be released by using #telephony_call_release_call_list().
*/
int telephony_call_get_type(telephony_call_h call_handle, telephony_call_type_e *type);
* @retval #TELEPHONY_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
*
- * @pre The call handle should be obtained from #telephony_call_get_call_list()
- * @post The call list should be released by using #telephony_call_release_call_list()
+ * @pre The call handle should be obtained from #telephony_call_get_call_list().
+ * @post The call list should be released by using #telephony_call_release_call_list().
*/
int telephony_call_get_status(telephony_call_h call_handle, telephony_call_status_e *status);
* @retval #TELEPHONY_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
*
- * @pre The call handle should be obtained from #telephony_call_get_call_list()
- * @post The call list should be released by using #telephony_call_release_call_list()
+ * @pre The call handle should be obtained from #telephony_call_get_call_list().
+ * @post The call list should be released by using #telephony_call_release_call_list().
*/
int telephony_call_get_direction(telephony_call_h call_handle, telephony_call_direction_e *direction);
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] call_handle The handle from #telephony_call_get_call_list()
- * @param[out] conference_status The value whether the call is conference call or not.
+ * @param[out] conference_status The value whether the call is conference call or not
* (true: Conference call, false: Single call)
*
* @return @c 0 on success,
* @retval #TELEPHONY_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
*
- * @pre The call handle should be obtained from #telephony_call_get_call_list()
- * @post The call list should be released by using #telephony_call_release_call_list()
+ * @pre The call handle should be obtained from #telephony_call_get_call_list().
+ * @post The call list should be released by using #telephony_call_release_call_list().
*/
int telephony_call_get_conference_status(telephony_call_h call_handle, bool *conference_status);
/**
* @brief The structure type for the list of handles to use the Telephony API.
* @remarks There are two handles in case of dual SIM device. \n
- * In this case, handle[0] is mean Primary SIM and handle[1] is mean Secondary SIM.
+ * In this case, handle[0] means Primary SIM and handle[1] means Secondary SIM.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef struct {
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
- * @remarks An application should have the privilege corresponding to each notificaiton id. \n
+ * @remarks An application should have the privilege corresponding to each notificaiton ID. \n
* Please see the #telephony_noti_e to know the privilege. \n
* If an application has no proper privilege, callback will not be invoked although API returns success.
*
*
* @see telephony_unset_noti_cb()
*/
-int telephony_set_noti_cb(telephony_h handle,
- telephony_noti_e noti_id, telephony_noti_cb cb, void *user_data);
+int telephony_set_noti_cb(telephony_h handle, telephony_noti_e noti_id, telephony_noti_cb cb, void *user_data);
+
/**
* @brief Unsets a callback function.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
* @remarks You will get two handles in case of dual SIM device. \n
- * In this case, handle[0] is mean Primary SIM and handle[1] is mean Secondary SIM.
+ * In this case, handle[0] means Primary SIM and handle[1] means Secondary SIM.
*
* @param[out] list The list contains the number of
* available handles and array of handles
typedef void (*telephony_state_changed_cb)(telephony_state_e state, void *user_data);
/**
- * @brief Acquires the telephony state value
+ * @brief Acquires the telephony state value.
*
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
- * @param[out] state The state value of telephony.
+ * @param[out] state The state value of telephony
*
* @return @c 0 on success,
* otherwise a negative error value
int telephony_modem_get_imei(telephony_h handle, char **imei);
/**
- * @brief Gets the power status of the modem
+ * @brief Gets the power status of the modem.
*
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
* @retval #TELEPHONY_ERROR_OPERATION_FAILED Operation failed
*/
-int telephony_modem_get_power_status(telephony_h handle,
- telephony_modem_power_status_e *status);
+int telephony_modem_get_power_status(telephony_h handle, telephony_modem_power_status_e *status);
+
/**
- * @brief Gets the MEID (Mobile Equipment Identifier) of a mobile phone. (for CDMA)
+ * @brief Gets the MEID (Mobile Equipment Identifier) of a mobile phone (for CDMA).
*
* @since_tizen 3.0
* @privlevel public
} telephony_network_default_data_subs_e;
/**
- * @brief Enumeration defines possible 'default' Subscriptions for Circuit Switched(CS).
+ * @brief Enumeration for defining possible 'default' Subscriptions for Circuit Switched(CS).
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
*
* @param[in] handle The handle from telephony_init()
* @param[out] rssi The Received Signal Strength Indicator \n
- * Higher the received number, the stronger the signal strength.
+ * Higher the received number, the stronger the signal strength
*
* @return @c 0 on success,
* otherwise a negative error value
*
* @param[in] handle The handle from telephony_init()
* @param[out] mcc The Mobile Country Code (three digits)
- * Mobile Country Code (MCC) identifies the country where the cell is being used.
+ * Mobile Country Code (MCC) identifies the country where the cell is being used
*
* @return @c 0 on success,
* otherwise a negative error value
*
* @param[in] handle The handle from telephony_init()
* @param[out] mnc The Mobile Network Code (three digits)
- * The Mobile Network Code (MNC) identifies the mobile phone operator and network provider.
+ * The Mobile Network Code (MNC) identifies the mobile phone operator and network provider
*
* @return @c 0 on success,
* otherwise a negative error value
* You must release @c network_name using free() on success case.
*
* @param[in] handle The handle from telephony_init()
- * @param[out] network_name The name of the current registered network, empty string if unknown.
+ * @param[out] network_name The name of the current registered network, empty string if unknown
*
* @return @c 0 on success,
* otherwise a negative error value
*
* @see telephony_network_get_service_state()
*/
-int telephony_network_get_type(telephony_h handle,
- telephony_network_type_e *network_type);
+int telephony_network_get_type(telephony_h handle, telephony_network_type_e *network_type);
+
/**
* @brief Gets the packet service type of the current registered network.
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
* @retval #TELEPHONY_ERROR_OPERATION_FAILED Operation failed
*/
-int telephony_network_get_network_name_option(telephony_h handle,
- telephony_network_name_option_e *network_name_option);
+int telephony_network_get_network_name_option(telephony_h handle, telephony_network_name_option_e *network_name_option);
+
/**
* @brief Gets the current network state of the telephony service.
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
* @retval #TELEPHONY_ERROR_OPERATION_FAILED Operation failed
*/
-int telephony_network_get_service_state(telephony_h handle,
- telephony_network_service_state_e *network_service_state);
+int telephony_network_get_service_state(telephony_h handle, telephony_network_service_state_e *network_service_state);
+
/**
* @brief Gets the current default subscription for data service (Packet Switched).
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
* @retval #TELEPHONY_ERROR_OPERATION_FAILED Operation failed
*/
-int telephony_network_get_default_data_subscription(telephony_h handle,
- telephony_network_default_data_subs_e *default_sub);
+int telephony_network_get_default_data_subscription(telephony_h handle, telephony_network_default_data_subs_e *default_sub);
+
/**
* @brief Gets the current default subscription for voice service (Circuit Switched).
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
* @retval #TELEPHONY_ERROR_OPERATION_FAILED Operation failed
*/
-int telephony_network_get_default_subscription(telephony_h handle,
- telephony_network_default_subs_e *default_sub);
+int telephony_network_get_default_subscription(telephony_h handle, telephony_network_default_subs_e *default_sub);
+
/**
* @brief Gets the network selection mode.
* @retval #TELEPHONY_ERROR_NOT_SUPPORTED Not supported
* @retval #TELEPHONY_ERROR_OPERATION_FAILED Operation failed
*/
-int telephony_network_get_selection_mode(telephony_h handle,
- telephony_network_selection_mode_e *mode);
+int telephony_network_get_selection_mode(telephony_h handle, telephony_network_selection_mode_e *mode);
+
/**
* @brief Gets the TAC (Tracking Area Code) of the current location.
} telephony_sim_lock_state_e;
/**
- * @brief Enumeration for the type of SIM card .
+ * @brief Enumeration for the type of SIM card.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
Name: capi-telephony
Summary: Telephony Core API
-Version: 0.1.67
+Version: 0.1.68
Release: 1
Group: System/Libraries
License: Apache-2.0