Class Manager
Definition
- Namespace:
- Tizen.Telephony
- Assembly:
- Tizen.Telephony.dll
- API Level:
- 3
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.
public static class Manager
- Inheritance
-
Manager
Properties
View SourceCurrentState
Acquires the telephony state value.
Declaration
public static State CurrentState { get; }
Property Value
Type | Description |
---|---|
State | The state value of telephony. |
API Level: 3
Methods
View SourceDeinit()
Deinitializes the telephony handles.
Declaration
public static void Deinit()
Exceptions
Type | Condition |
---|---|
NotSupportedException | The required feature is not supported. |
InvalidOperationException | This exception can be generated in the following cases:
|
API Level: 3
Feature: http://tizen.org/feature/network.telephony
View SourceInit()
Acquires the number of available handles to use the telephony API.
Declaration
public static IEnumerable<SlotHandle> Init()
Returns
Type | Description |
---|---|
IEnumerable<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 |
---|---|
NotSupportedException | The required feature is not supported. |
InvalidOperationException | This exception will be generated in the following cases:
|
API Level: 3
Feature: http://tizen.org/feature/network.telephony
Events
View SourceStateChanged
The event handler to be invoked when the telephony state changes.
Declaration
public static event EventHandler<StateEventArgs> StateChanged
Event Type
Type | Description |
---|---|
EventHandler<StateEventArgs> |