harmony 鸿蒙Telephony_NetworkState

  • 2025-06-12
  • 浏览 (5)

Telephony_NetworkState

Overview

Defines network status information.

Since: 13

Related module: Telephony Radio

Header file: telephony_radio_type.h

Summary

Member Variables

Name Description
longOperatorName_ [TELEPHONY_MAX_OPERATOR_LEN] Long carrier name of the registered network.
shortOperatorName_[TELEPHONY_MAX_OPERATOR_LEN] Short carrier name of the registered network.
plmnNumeric_[TELEPHONY_MAX_PLMN_NUMERIC_LEN] PLMN code of the registered network.
isRoaming_ Whether the user is roaming.
regState_ Network registration status of the device.
cfgTech_ RAT of the device.
nsaState_ NSA network registration status of the device.
isCaActive_ CA status.
isEmergency_ Whether only emergency calls are allowed.

Member Variable Description

longOperatorName_

char Telephony_NetworkState::longOperatorName_[TELEPHONY_MAX_OPERATOR_LEN]

Description

Long carrier name of the registered network.

shortOperatorName_

char Telephony_NetworkState::shortOperatorName_[TELEPHONY_MAX_OPERATOR_LEN]

Description

Short carrier name of the registered network.

plmnNumeric_

char Telephony_NetworkState::plmnNumeric_[TELEPHONY_MAX_PLMN_NUMERIC_LEN]

Description

PLMN code of the registered network.

isRoaming_

bool Telephony_NetworkState::isRoaming_

Description

Whether the user is roaming.

regState_

Telephony_RegState Telephony_NetworkState::regState_

Description

Network registration status of the device.

cfgTech_

Telephony_RadioTechnology Telephony_NetworkState::cfgTech_

Description

RAT of the device.

nsaState_

Telephony_NsaState Telephony_NetworkState::nsaState_

Description

NSA network registration status of the device.

isCaActive_

bool Telephony_NetworkState::isCaActive_

Description

CA status.

isEmergency_

bool Telephony_NetworkState::isEmergency_

Description

Whether only emergency calls are allowed.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Telephony Kit

harmony 鸿蒙Telephony Error Codes

harmony 鸿蒙js-apis-call-sys

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)

harmony 鸿蒙@ohos.telephony.observer (Observer)

harmony 鸿蒙@ohos.telephony.radio (Radio) (System API)

harmony 鸿蒙@ohos.telephony.radio (Network Search)

0  赞