Class Modem
Definition
- Assembly:
- Tizen.Telephony.dll
This class provides APIs to obtain information from the modem.
public class Modem
- Inheritance
-
objectModem
Constructors
View SourceModem(SlotHandle)
The Modem class constructor.
Declaration
public Modem(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
View SourceCurrentPowerStatus
Gets the power status of the modem.
Declaration
public Modem.PowerStatus CurrentPowerStatus { get; }
Property Value
Type | Description |
---|---|
Modem.PowerStatus | The Modem power status (0=on,1=off,2=reset,3=low). |
Imei
Gets the IMEI (International Mobile Station Equipment Identity) of a mobile phone. The IMEI number is used by a GSM network to identify valid devices and therefore, can be used for stopping a stolen phone from accessing that network.
Declaration
public string Imei { get; }
Property Value
Type | Description |
---|---|
string | The International Mobile Station Equipment Identity. Empty string if unable to complete the operation. |
Meid
Gets the MEID (Mobile Equipment Identifier) of a mobile phone (for CDMA).
Declaration
public string Meid { get; }
Property Value
Type | Description |
---|---|
string | The Mobile Equipment Identifier. Empty string if unable to complete the operation. |