Class PhoneController
Access simplic phone framework
Inheritance
System.Object
PhoneController
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.PhoneInterface
Assembly: Simplic.Framework.dll
Syntax
public class PhoneController
Properties
| Improve this Doc View SourceInterface
Gets the phone interface
Declaration
public IPhoneInterface Interface { get; }
Property Value
Type | Description |
---|---|
IPhoneInterface |
IsActive
Gets or sets whether the phone provider is active or not
Declaration
public bool IsActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Singleton
Access phone controller
Declaration
public static PhoneController Singleton { get; }
Property Value
Type | Description |
---|---|
PhoneController |
Methods
| Improve this Doc View SourceGetSettings<T>()
Gets the phone settings for an interface
Declaration
public PhoneSettings<T> GetSettings<T>()
where T : IPhoneInterface
Returns
Type | Description |
---|---|
PhoneSettings<T> | Returns an instance of a settings object |
Type Parameters
Name | Description |
---|---|
T | Interface type |
Initialize()
Check license and init
Declaration
public void Initialize()
SaveSettings<T>(PhoneSettings<T>)
Save phone settings
Declaration
public void SaveSettings<T>(PhoneSettings<T> settings)
where T : IPhoneInterface
Parameters
Type | Name | Description |
---|---|---|
PhoneSettings<T> | settings | Settings instance |
Type Parameters
Name | Description |
---|---|
T | Interface type |