Class Network
Definition
- Namespace:
- Tizen.Telephony
- Assembly:
- Tizen.Telephony.dll
- API Level:
- 3
The Network class provides APIs to obtain information about the current telephony service network.
C#Copypublic class Network
- Inheritance
-
Network
Constructors
Declaration
C#Copypublic Network(SlotHandle handle)
Parameters
Type | Name | Description |
---|---|---|
SlotHandle | handle | SlotHandle received in the Manager.Init API. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ArgumentNullException | This exception occurs if the handle provided is null. |
API Level: 3
Feature: http://tizen.org/feature/network.telephony
Properties
Declaration
C#Copypublic int BaseStationId { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The base station ID. -1 if unknown. |
Remarks
This API can be used in the CDMA network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location.coarse
Declaration
C#Copypublic int BaseStationLatitude { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The base station latitude. 0x7FFFFFFF if unknown. |
Remarks
This API can be used in the CDMA network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location.coarse
Declaration
C#Copypublic int BaseStationLongitude { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The base station latitude. 0x7FFFFFFF if unknown. |
Remarks
This API can be used in the CDMA network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location.coarse
Declaration
C#Copypublic int CellId { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The cell identification number, -1 if unknown. |
Remarks
This API can be used in the GSM/WCDMA/LTE network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location.coarse
Declaration
C#Copypublic Network.Rssi CurrentRssi { get; }
Property Value
Type | Description |
---|---|
Network.Rssi | The Received Signal Strength Indicator. Higher the received number, the stronger the signal strength. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic int Lac { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The Location Area Code, -1 if unknown. |
Remarks
This API can be used in the GSM/WCDMA network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location.coarse
Declaration
C#Copypublic string Mcc { get; }
Property Value
Type | Description |
---|---|
System.String | The Mobile Country Code (three digits). The Mobile Country Code (MCC) identifies the country where the cell is being used. Empty string if unknown. |
Remarks
This API can be used in the GSM/WCDMA/LTE network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic string Mnc { get; }
Property Value
Type | Description |
---|---|
System.String | The Mobile Network Code (three digits). The Mobile Network Code (MNC) identifies the mobile phone operator and the network provider. Empty string if unknown. |
Remarks
This API can be used in the GSM/WCDMA/LTE network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
NetworkDefaultDataSubscription
Gets the current default subscription for the data service (Packet Switched).
Declaration
C#Copypublic Network.DefaultDataSubscription NetworkDefaultDataSubscription { get; }
Property Value
Type | Description |
---|---|
Network.DefaultDataSubscription | The current default data subscription. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
NetworkDefaultSubscription
Gets the current default subscription for the voice service (Circuit Switched).
Declaration
C#Copypublic Network.DefaultSubscription NetworkDefaultSubscription { get; }
Property Value
Type | Description |
---|---|
Network.DefaultSubscription | The current default voice subscription. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic int NetworkId { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The network ID. -1 if unknown. |
Remarks
This API can be used in the CDMA network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location.coarse
Declaration
C#Copypublic string NetworkName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the current registered network. Empty string if unknown. |
Remarks
This API can be used in the GSM/WCDMA/LTE network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic Network.NameOption NetworkNameOption { get; }
Property Value
Type | Description |
---|---|
Network.NameOption | The network name display option. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic Network.PsType NetworkPsType { get; }
Property Value
Type | Description |
---|---|
Network.PsType | The type of the packet service. |
Remarks
This API can be used in the HSDPA network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic Network.SelectionMode NetworkSelectionMode { get; }
Property Value
Type | Description |
---|---|
Network.SelectionMode | The network selection mode. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic Network.ServiceState NetworkServiceState { get; }
Property Value
Type | Description |
---|---|
Network.ServiceState | The current network state. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic Network.Type NetworkType { get; }
Property Value
Type | Description |
---|---|
Network.Type | The network service type. |
Remarks
This API can be used in case the network is in service.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic bool RoamingStatus { get; }
Property Value
Type | Description |
---|---|
Boolean | true if roaming, otherwise false if not roaming. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic int SystemId { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The system ID. -1 if unknown. |
Remarks
This API can be used in the CDMA network.
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location.coarse
Declaration
C#Copypublic int Tac { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The Tracking Area Code. -1 if unknown. |
Remarks
This API can be used in the LTE network.