Class Modem
Definition
- Namespace:
- Tizen.Telephony
- Assembly:
- Tizen.Telephony.dll
- API Level:
- 3
This class provides APIs to obtain information from the modem.
C#Copypublic class Modem
- Inheritance
-
Modem
Constructors
Declaration
C#Copypublic 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. |
ArgumentNullException | This exception occurs if the handle provided is null. |
API Level: 3
Feature: http://tizen.org/feature/network.telephony
Properties
Declaration
C#Copypublic Modem.PowerStatus CurrentPowerStatus { get; }
Property Value
Type | Description |
---|---|
Modem.PowerStatus | The Modem power status (0=on,1=off,2=reset,3=low). |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
View Source
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
C#Copypublic string Imei { get; }
Property Value
Type | Description |
---|---|
System.String | The International Mobile Station Equipment Identity. Empty string if unable to complete the operation. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/telephony
Declaration
C#Copypublic string Meid { get; }
Property Value
Type | Description |
---|---|
System.String | The Mobile Equipment Identifier. Empty string if unable to complete the operation. |