* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum {
- TELEPHONY_NETWORK_TYPE_UNKNOWN, /**< Unknown */
- TELEPHONY_NETWORK_TYPE_GSM, /**< 2G GSM network type */
- TELEPHONY_NETWORK_TYPE_GPRS, /**< 2.5G GPRS network type */
- TELEPHONY_NETWORK_TYPE_EDGE, /**< 2.5G EDGE network type */
- TELEPHONY_NETWORK_TYPE_UMTS, /**< 3G UMTS network type */
- TELEPHONY_NETWORK_TYPE_HSDPA, /**< HSDPA network type */
- TELEPHONY_NETWORK_TYPE_LTE, /**< LTE network type */
- TELEPHONY_NETWORK_TYPE_IS95A, /**< IS95A network type (Since: 3.0) */
- TELEPHONY_NETWORK_TYPE_IS95B, /**< IS95B network type (Since: 3.0) */
- TELEPHONY_NETWORK_TYPE_CDMA_1X, /**< CDMA 1x network type (Since: 3.0) */
- TELEPHONY_NETWORK_TYPE_EVDO_REV_0, /**< EVDO revision 0 network type (Since: 3.0) */
- TELEPHONY_NETWORK_TYPE_EVDO_REV_A, /**< EVDO revision A network type (Since: 3.0) */
- TELEPHONY_NETWORK_TYPE_EVDO_REV_B, /**< EVDO revision B network type (Since: 3.0) */
- TELEPHONY_NETWORK_TYPE_EVDV, /**< EVDV network type (Since: 3.0) */
- TELEPHONY_NETWORK_TYPE_EHRPD, /**< EHRPD network type (Since: 3.0) */
+ TELEPHONY_NETWORK_TYPE_UNKNOWN, /**< Unknown */
+ TELEPHONY_NETWORK_TYPE_GSM, /**< 2G GSM network type */
+ TELEPHONY_NETWORK_TYPE_GPRS, /**< 2.5G GPRS network type */
+ TELEPHONY_NETWORK_TYPE_EDGE, /**< 2.5G EDGE network type */
+ TELEPHONY_NETWORK_TYPE_UMTS, /**< 3G UMTS network type */
+ TELEPHONY_NETWORK_TYPE_HSDPA, /**< HSDPA network type */
+ TELEPHONY_NETWORK_TYPE_LTE, /**< LTE network type */
+ TELEPHONY_NETWORK_TYPE_IS95A, /**< IS95A network type (Since: 3.0) */
+ TELEPHONY_NETWORK_TYPE_IS95B, /**< IS95B network type (Since: 3.0) */
+ TELEPHONY_NETWORK_TYPE_CDMA_1X, /**< CDMA 1x network type (Since: 3.0) */
+ TELEPHONY_NETWORK_TYPE_EVDO_REV_0, /**< EVDO revision 0 network type (Since: 3.0) */
+ TELEPHONY_NETWORK_TYPE_EVDO_REV_A, /**< EVDO revision A network type (Since: 3.0) */
+ TELEPHONY_NETWORK_TYPE_EVDO_REV_B, /**< EVDO revision B network type (Since: 3.0) */
+ TELEPHONY_NETWORK_TYPE_EVDV, /**< EVDV network type (Since: 3.0) */
+ TELEPHONY_NETWORK_TYPE_EHRPD, /**< EHRPD network type (Since: 3.0) */
} telephony_network_type_e;
/**
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
- TELEPHONY_NETWORK_PS_TYPE_UNKNOWN, /**< Unknown */
- TELEPHONY_NETWORK_PS_TYPE_HSDPA, /**< HSDPA ps type */
- TELEPHONY_NETWORK_PS_TYPE_HSUPA, /**< HSUPA ps type */
- TELEPHONY_NETWORK_PS_TYPE_HSPA, /**< HSPA ps type */
- TELEPHONY_NETWORK_PS_TYPE_HSPAP, /**< HSPAP ps type */
+ TELEPHONY_NETWORK_PS_TYPE_UNKNOWN, /**< Unknown */
+ TELEPHONY_NETWORK_PS_TYPE_HSDPA, /**< HSDPA ps type */
+ TELEPHONY_NETWORK_PS_TYPE_HSUPA, /**< HSUPA ps type */
+ TELEPHONY_NETWORK_PS_TYPE_HSPA, /**< HSPA ps type */
+ TELEPHONY_NETWORK_PS_TYPE_HSPAP, /**< HSPAP ps type */
} telephony_network_ps_type_e;
/**
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum {
- TELEPHONY_NETWORK_SERVICE_STATE_IN_SERVICE, /**< In service */
- TELEPHONY_NETWORK_SERVICE_STATE_OUT_OF_SERVICE, /**< Out of service */
- TELEPHONY_NETWORK_SERVICE_STATE_EMERGENCY_ONLY, /**< Only emergency call is allowed */
+ TELEPHONY_NETWORK_SERVICE_STATE_IN_SERVICE, /**< In service */
+ TELEPHONY_NETWORK_SERVICE_STATE_OUT_OF_SERVICE, /**< Out of service */
+ TELEPHONY_NETWORK_SERVICE_STATE_EMERGENCY_ONLY, /**< Only emergency call is allowed */
} telephony_network_service_state_e;
/**
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
- TELEPHONY_NETWORK_NAME_OPTION_UNKNOWN, /**< Unknown */
- TELEPHONY_NETWORK_NAME_OPTION_SPN, /**< Network name displayed by SPN */
- TELEPHONY_NETWORK_NAME_OPTION_NETWORK, /**< Network name displayed by Network */
- TELEPHONY_NETWORK_NAME_OPTION_ANY, /**< Network name displayed by SPN or Network */
+ TELEPHONY_NETWORK_NAME_OPTION_UNKNOWN, /**< Unknown */
+ TELEPHONY_NETWORK_NAME_OPTION_SPN, /**< Network name displayed by SPN */
+ TELEPHONY_NETWORK_NAME_OPTION_NETWORK, /**< Network name displayed by Network */
+ TELEPHONY_NETWORK_NAME_OPTION_ANY, /**< Network name displayed by SPN or Network */
} telephony_network_name_option_e;
/**
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
- TELEPHONY_NETWORK_DEFAULT_DATA_SUBS_UNKNOWN = -1, /**< Unknown status */
- TELEPHONY_NETWORK_DEFAULT_DATA_SUBS_SIM1 = 0, /**< SIM 1 */
- TELEPHONY_NETWORK_DEFAULT_DATA_SUBS_SIM2 /**< SIM 2 */
+ TELEPHONY_NETWORK_DEFAULT_DATA_SUBS_UNKNOWN = -1, /**< Unknown status */
+ TELEPHONY_NETWORK_DEFAULT_DATA_SUBS_SIM1 = 0, /**< SIM 1 */
+ TELEPHONY_NETWORK_DEFAULT_DATA_SUBS_SIM2 /**< SIM 2 */
} telephony_network_default_data_subs_e;
/**
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
- TELEPHONY_NETWORK_DEFAULT_SUBS_UNKNOWN = -1, /**< Unknown status */
- TELEPHONY_NETWORK_DEFAULT_SUBS_SIM1 = 0, /**< SIM 1 network */
- TELEPHONY_NETWORK_DEFAULT_SUBS_SIM2 /**< SIM 2 network */
+ TELEPHONY_NETWORK_DEFAULT_SUBS_UNKNOWN = -1, /**< Unknown status */
+ TELEPHONY_NETWORK_DEFAULT_SUBS_SIM1 = 0, /**< SIM 1 network */
+ TELEPHONY_NETWORK_DEFAULT_SUBS_SIM2 /**< SIM 2 network */
} telephony_network_default_subs_e;
/**
* @since_tizen 3.0
*/
typedef enum {
- TELEPHONY_NETWORK_SELECTION_MODE_AUTOMATIC, /**< Automatic mode */
- TELEPHONY_NETWORK_SELECTION_MODE_MANUAL /**< Manual mode */
+ TELEPHONY_NETWORK_SELECTION_MODE_AUTOMATIC, /**< Automatic mode */
+ TELEPHONY_NETWORK_SELECTION_MODE_MANUAL /**< Manual mode */
} telephony_network_selection_mode_e;
/**
* http://tizen.org/privilege/telephony privilege is no longer required since 3.0.
*
* @param[in] handle The handle from telephony_init()
- * @param[out] lac The Location Area Code, @c -1 if unknown
+ * @param[out] lac The Location Area Code, @c -1 if unknown
*
* @return @c 0 on success,
* otherwise a negative error value
* http://tizen.org/privilege/location.coarse privilege is required to use this API since 3.0. @n
* http://tizen.org/privilege/telephony privilege is no longer required since 3.0.
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] cell_id The cell identification number, @c -1 if unknown
*
* @return @c 0 on success,
* @privilege %http://tizen.org/privilege/telephony
*
* @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
+ * @param[out] rssi The Received Signal Strength Indicator \n
+ * Higher the received number, the stronger the signal strength
*
* @return @c 0 on success,
* otherwise a negative error value
* @privlevel public
* @privilege %http://tizen.org/privilege/telephony
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] status @c true if roaming,
* otherwise @c false if not roaming
*
* You must release @c mcc using free() on success case, empty string if unknown.
*
* @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
+ * @param[out] mcc The Mobile Country Code (three digits)
+ * Mobile Country Code (MCC) identifies the country where the cell is being used
*
* @return @c 0 on success,
* otherwise a negative error value
* You must release @c mnc using free() on success case, empty string if unknown.
*
* @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
+ * @param[out] mnc The Mobile Network Code (three digits)
+ * The Mobile Network Code (MNC) identifies the mobile phone operator and network provider
*
* @return @c 0 on success,
* otherwise a negative error value
* @remarks This API can be used in GSM / WCDMA / LTE network.
* You must release @c network_name using free() on success case.
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] network_name The name of the current registered network, empty string if unknown
*
* @return @c 0 on success,
*
* @remarks This API can be used in case network is in service.
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] network_type The network service type
*
* @return @c 0 on success,
*
* @remarks This API can be used in HSDPA network.
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] ps_type The type of packet service
*
* @return @c 0 on success,
* @privlevel public
* @privilege %http://tizen.org/privilege/telephony
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] network_name_option The network name display option
*
* @return @c 0 on success,
*
* @remarks To know the state of data network, refer connection API.
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] network_service_state The current network state
*
* @return @c 0 on success,
* @privilege %http://tizen.org/privilege/telephony
*
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] default_sub The current default data subscription
*
* @return @c 0 on success,
* @privilege %http://tizen.org/privilege/telephony
*
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] default_sub The current default voice subscription
*
* @return @c 0 on success,
* @privilege %http://tizen.org/privilege/telephony
*
* @param[in] handle The handle from telephony_init()
- * @param[out] mode The network selection mode
+ * @param[out] mode The network selection mode
*
* @return @c 0 on success,
* otherwise a negative error value
* @remarks This API can be used in LTE network.
*
* @param[in] handle The handle from telephony_init()
- * @param[out] tac The Tracking Area Code, @c -1 if unknown
+ * @param[out] tac The Tracking Area Code, @c -1 if unknown
*
* @return @c 0 on success,
* otherwise a negative error value
* @remarks This API can be used in CDMA network.
*
* @param[in] handle The handle from telephony_init()
- * @param[out] sid The system ID, @c -1 if unknown
+ * @param[out] sid The system ID, @c -1 if unknown
*
* @return @c 0 on success,
* otherwise a negative error value
* @remarks This API can be used in CDMA network.
*
* @param[in] handle The handle from telephony_init()
- * @param[out] nid The network ID, @c -1 if unknown
+ * @param[out] nid The network ID, @c -1 if unknown
*
* @return @c 0 on success,
* otherwise a negative error value
*
* @remarks This API can be used in CDMA network.
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] bs_latitude The base station latitude, @c 0x7FFFFFFF if unknown
*
* @return @c 0 on success,
*
* @remarks This API can be used in CDMA network.
*
- * @param[in] handle The handle from telephony_init()
+ * @param[in] handle The handle from telephony_init()
* @param[out] bs_longitude The base station longitude, @c 0x7FFFFFFF if unknown
*
* @return @c 0 on success,
int telephony_network_get_base_station_longitude(telephony_h handle, int *bs_longitude);
/**
- * @brief Gets the Signal Strength (Received Signal Strength in dBm).
+ * @brief Gets the received signal strength (dBm).
*
* @since_tizen 4.0
* @privlevel public
* @privilege %http://tizen.org/privilege/telephony
*
* @param[in] handle The handle from telephony_init()
- * @param[out] dbm The Received Signal Strength in dBm, @c 0 if unknown \n
- * Higher the received number, the stronger the signal strength
+ * @param[out] dbm The received signal strength in dBm, @c 0 if unknown \n
+ * The higher the received number, the stronger the signal
*
* @return @c 0 on success,
* otherwise a negative error value