Interface IPhoneProvider
Interface that must be implemented into a Phone interface
Namespace: Simplic.Framework.PhoneInterface
Assembly: Simplic.Framework.dll
Syntax
public interface IPhoneProvider
Methods
| Improve this Doc View SourceOnCallConnected(IPhoneCall)
Will be invoked when a call connected
Declaration
void OnCallConnected(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call information |
OnCallDisconnected(IPhoneCall)
Will be invoked when a call is finished
Declaration
void OnCallDisconnected(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call information |
OnCallTypeChanged(IPhoneCall, CallType)
Call type changed
Declaration
void OnCallTypeChanged(IPhoneCall call, CallType oldCallType)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call instance |
CallType | oldCallType | Old call instance |
OnIncomminCall(IPhoneCall)
Will be invoked when a call comes in
Declaration
void OnIncomminCall(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call information |
OnOutboundCall(IPhoneCall)
Will be executed if an outbound call is made
Declaration
void OnOutboundCall(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call information |
ResolvePhoneNumber(IPhoneCall)
Resolve the contact by its phone number
Declaration
string ResolvePhoneNumber(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call |
Returns
Type | Description |
---|---|
System.String |