freesmartphone.org Phone Call Interface

Description

The Call Interface is used to represent a communication channel.

Namespace

org.freesmartphone.Phone.Call

Methods

Signals

Properties

None

Errors

Methods

GetPeer ( ) → s

Description: Return the number of the peer (usually the number of the call).

Returns:

s: peer The number of the peer.

Initiate ( ) → s

Description: Initiate the call.

Returns:

s: status The new status of the Call (should be ‘Initiating’).

Activate ( ) → s

Description: Accept the call.

Returns:

s: status The new status of the Call (should be ‘Activating’).

Release ( ) → s

Description: Release the call.

Returns:

s: status The new status of the Call (should be ‘Releasing’).

GetStatus ( ) → s

Description: Return the current status of the call.

Returns:

s: status The current status of the Call.

Remove ( )

Description: Remove the call object when it is not needed anymore.

Signals

Incoming ( )

Outgoing ( )

Released ( )

Activated ( )

Errors

Unauthorized

Description: Raised, if registering with the specified network is not possible.