Class Manager
Definition
- Assembly:
- Tizen.Telephony.dll
This class provides APIs to initialize and deinitialize the framework. It also provides APIs to get the SlotHandles, which can then be used to get other Network/Sim/Call/Modem information.
C#Copypublic static class Manager
- Inheritance
-
objectManager
Properties
Declaration
C#Copypublic static State CurrentState { get; }
Property Value
Type | Description |
---|---|
State | The state value of telephony. |
Methods
Declaration
C#Copypublic static void Deinit()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
System.InvalidOperationException | This exception can be generated in the following cases:
|
Declaration
C#Copypublic static IEnumerable<SlotHandle> Init()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><SlotHandle> | A list of telephony handles. You will get 2 SlotHandles in case of the dual SIM device. Where, SlotHandle at Index '0' represents the primary SIM and Index '1' represents the secondary SIM. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
System.InvalidOperationException | This exception will be generated in the following cases:
|
Events
Declaration
C#Copypublic static event EventHandler<StateEventArgs> StateChanged
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><StateEventArgs> |