freesmartphone.org PIM.Calls Interface

Description

This interface provides access to the collection of PIM calls.

Namespace

org.freesmartphone.PIM.Calls

Methods

Signals

Properties

None

Errors

None

Methods

Add ( a{sv} ) → s

Description: Add a new call to the default backend for calls.

Parameters:*

a{sv}: call_data The new calls data.

Returns:

s: call_path The contact path of the added call.

GetSingleEntrySingleField ( a{sv}s ) → s

Description: Query the content of one field of one call.

Parameters:*

a{sv}: query The query.

s: field The name of the field to query.

Returns:

s: value The content of the queried field.

Query ( a{sv} ) → s

Description: Start a query for calls.

Parameters:*

a{sv}: query The query.

Returns:

s: query_path The path for the started query.

GetNewMissedCalls ( ) → i

Description: Get the amount of new missed calls.

Returns:

i: amount Amount of new missed calls

Signals

NewCall ( s )

Description: Sent when a new call is loaded.

Parameters:

s: call_path The path of the newly loaded call.

IncomingCall ( s )

Description: Sent when a new missed call is registered.

Parameters:

s: call_path The path of the newly registered missed call.

NewMissedCalls ( i )

Description: Sent when amount of new missed calls changes.

Parameters:

i: amount Amount of new missed calls.