Class Network
Definition
- Assembly:
- Tizen.Telephony.dll
The Network class provides APIs to obtain information about the current telephony service network. It offers properties such as Lac, which allows users to retrieve the Location Area Code (LAC) of the current location. Another property, CellId, enables users to obtain the cell identification number.
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public class Network
- Inheritance
-
objectNetwork
Constructors
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public 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. |
| System.ArgumentNullException | This exception occurs if the handle provided is null. |
Properties
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public int BaseStationId { get; }
Property Value
| Type | Description |
|---|---|
| int | The base station ID. -1 if unknown. |
Remarks
This API can be used in the CDMA network.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public int BaseStationLatitude { get; }
Property Value
| Type | Description |
|---|---|
| int | The base station latitude. 0x7FFFFFFF if unknown. |
Remarks
This API can be used in the CDMA network.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public int BaseStationLongitude { get; }
Property Value
| Type | Description |
|---|---|
| int | The base station latitude. 0x7FFFFFFF if unknown. |
Remarks
This API can be used in the CDMA network.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public int CellId { get; }
Property Value
| Type | Description |
|---|---|
| int | The cell identification number, -1 if unknown. |
Remarks
This API can be used in the GSM/WCDMA/LTE network.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public Network.Rssi CurrentRssi { get; }
Property Value
| Type | Description |
|---|---|
| Network.Rssi | The Received Signal Strength Indicator. Higher the received number, the stronger the signal strength. |
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public int Lac { get; }
Property Value
| Type | Description |
|---|---|
| int | The Location Area Code, -1 if unknown. |
Remarks
This API can be used in the GSM/WCDMA network.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public string Mcc { get; }
Property Value
| Type | Description |
|---|---|
| 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.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public string Mnc { get; }
Property Value
| Type | Description |
|---|---|
| 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.
NetworkDefaultDataSubscription
Gets the current default subscription for the data service (Packet Switched).
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public Network.DefaultDataSubscription NetworkDefaultDataSubscription { get; }
Property Value
| Type | Description |
|---|---|
| Network.DefaultDataSubscription | The current default data subscription. |
NetworkDefaultSubscription
Gets the current default subscription for the voice service (Circuit Switched).
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public Network.DefaultSubscription NetworkDefaultSubscription { get; }
Property Value
| Type | Description |
|---|---|
| Network.DefaultSubscription | The current default voice subscription. |
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public int NetworkId { get; }
Property Value
| Type | Description |
|---|---|
| int | The network ID. -1 if unknown. |
Remarks
This API can be used in the CDMA network.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public string NetworkName { get; }
Property Value
| Type | Description |
|---|---|
| string | The name of the current registered network. Empty string if unknown. |
Remarks
This API can be used in the GSM/WCDMA/LTE network.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public Network.NameOption NetworkNameOption { get; }
Property Value
| Type | Description |
|---|---|
| Network.NameOption | The network name display option. |
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public 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.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public Network.SelectionMode NetworkSelectionMode { get; }
Property Value
| Type | Description |
|---|---|
| Network.SelectionMode | The network selection mode. |
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public Network.ServiceState NetworkServiceState { get; }
Property Value
| Type | Description |
|---|---|
| Network.ServiceState | The current network state. |
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public 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.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public bool RoamingStatus { get; }
Property Value
| Type | Description |
|---|---|
| bool | true if roaming, otherwise false if not roaming. |
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public int SystemId { get; }
Property Value
| Type | Description |
|---|---|
| int | The system ID. -1 if unknown. |
Remarks
This API can be used in the CDMA network.
Declaration
C#Copy[Obsolete("Deprecated since API13, will be removed in API15.")] public int Tac { get; }
Property Value
| Type | Description |
|---|---|
| int | The Tracking Area Code. -1 if unknown. |
Remarks
This API can be used in the LTE network.