1# Telephony_NetworkState
2
3
4## Overview
5
6Defines network status information.
7
8**Since**: 13
9
10**Related module**: [Telephony Radio](ndk-apis-telephony-radio.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| [longOperatorName_](#longoperatorname_) [TELEPHONY_MAX_OPERATOR_LEN] | Long carrier name of the registered network.|
21| [shortOperatorName_](#shortoperatorname_)[TELEPHONY_MAX_OPERATOR_LEN] | Short carrier name of the registered network.|
22| [plmnNumeric_](#plmnnumeric_)[TELEPHONY_MAX_PLMN_NUMERIC_LEN] | PLMN code of the registered network.|
23| [isRoaming_](#isroaming_) | Whether the user is roaming.|
24| [regState_](#regstate_) | Network registration status of the device.|
25| [cfgTech_](#cfgtech_) | RAT of the device.|
26| [nsaState_](#nsastate_) | NSA network registration status of the device.|
27| [isCaActive_](#iscaactive_) | CA status.|
28| [isEmergency_](#isemergency_) | Whether only emergency calls are allowed.|
29
30
31## Member Variable Description
32
33
34### longOperatorName_
35
36```
37char Telephony_NetworkState::longOperatorName_[TELEPHONY_MAX_OPERATOR_LEN]
38```
39
40**Description**
41
42Long carrier name of the registered network.
43
44
45### shortOperatorName_
46
47```
48char Telephony_NetworkState::shortOperatorName_[TELEPHONY_MAX_OPERATOR_LEN]
49```
50
51**Description**
52
53Short carrier name of the registered network.
54
55
56### plmnNumeric_
57
58```
59char Telephony_NetworkState::plmnNumeric_[TELEPHONY_MAX_PLMN_NUMERIC_LEN]
60```
61
62**Description**
63
64PLMN code of the registered network.
65
66
67### isRoaming_
68
69```
70bool Telephony_NetworkState::isRoaming_
71```
72
73**Description**
74
75Whether the user is roaming.
76
77### regState_
78
79```
80Telephony_RegState Telephony_NetworkState::regState_
81```
82
83**Description**
84
85Network registration status of the device.
86
87### cfgTech_
88
89```
90Telephony_RadioTechnology Telephony_NetworkState::cfgTech_
91```
92
93**Description**
94
95RAT of the device.
96
97### nsaState_
98
99```
100Telephony_NsaState Telephony_NetworkState::nsaState_
101```
102
103**Description**
104
105NSA network registration status of the device.
106
107### isCaActive_
108
109```
110bool Telephony_NetworkState::isCaActive_
111```
112
113**Description**
114
115Whether Carrier Aggregation (CA) is active.
116
117### isEmergency_
118
119```
120bool Telephony_NetworkState::isEmergency_
121```
122
123**Description**
124
125Whether only emergency calls are allowed.
126