harmony 鸿蒙telephony_radio_type.h
telephony_radio_type.h
Overview
Declares the structs for the C APIs of the radio module.
Library: libtelephony_radio.so
System capability: SystemCapability.Telephony.CoreService
Since: 13
Related module: Telephony Radio
Summary
Structs
Name | Description |
---|---|
Telephony_NetworkState | Network status structure. |
Enums
Name | Description |
---|---|
Telephony_RadioResult { TEL_RADIO_SUCCESS = 0, TEL_RADIO_PERMISSION_DENIED = 201, TEL_RADIO_ERR_INVALID_PARAM = 401, TEL_RADIO_ERR_MARSHALLING_FAILED = 8300001, TEL_RADIO_ERR_SERVICE_CONNECTION_FAILED = 8300002, TEL_RADIO_ERR_OPERATION_FAILED = 8300003, } |
Result codes. |
Telephony_RegState { TEL_REG_STATE_NO_SERVICE = 0, TEL_REG_STATE_IN_SERVICE = 1, TEL_REG_STATE_EMERGENCY_CALL_ONLY = 2, TEL_REG_STATE_POWER_OFF = 3, } |
Network registration status of the device. |
Telephony_RadioTechnology { TEL_RADIO_TECHNOLOGY_UNKNOWN = 0, TEL_RADIO_TECHNOLOGY_GSM = 1, TEL_RADIO_TECHNOLOGY_1XRTT = 2, TEL_RADIO_TECHNOLOGY_WCDMA = 3, TEL_RADIO_TECHNOLOGY_HSPA = 4, TEL_RADIO_TECHNOLOGY_HSPAP = 5, TEL_RADIO_TECHNOLOGY_TD_SCDMA = 6, TEL_RADIO_TECHNOLOGY_EVDO = 7, TEL_RADIO_TECHNOLOGY_EHRPD = 8, TEL_RADIO_TECHNOLOGY_LTE = 9, TEL_RADIO_TECHNOLOGY_LTE_CA = 10, TEL_RADIO_TECHNOLOGY_IWLAN = 11, TEL_RADIO_TECHNOLOGY_NR = 12, } |
Radio access technology (RAT) type of the device. |
Telephony_NsaState { TEL_NSA_STATE_NOT_SUPPORTED = 1, TEL_NSA_STATE_NO_DETECTED= 2, TEL_NSA_STATE_CONNECTED_DETECTED = 3, TEL_NSA_STATE_IDLE_DETECTED = 4, TEL_NSA_STATE_DUAL_CONNECTED = 5, TEL_NSA_STATE_SA_ATTACHED = 6, } |
NSA network registration status of the device. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Telephony_NetworkState
harmony 鸿蒙Telephony Error Codes
harmony 鸿蒙@ohos.telephony.call (Call)
harmony 鸿蒙@ohos.telephony.esim (eSIM Management) (System API)
harmony 鸿蒙@ohos.telephony.esim (eSIM Management)
harmony 鸿蒙@ohos.telephony.observer (Observer) (System API)
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦