freesmartphone.org PIM.CallQuery Interface

Description

This interface gives access to a call query.

Namespace

org.freesmartphone.PIM.CallQuery

Methods

Signals

Properties

None

Errors

None

Methods

GetResultCount ( ) → i

Description: Return the number of items in the query result

Returns:

i: count Amount of calls in the query result.

Rewind ( )

Description: Rewind the result cursor to the first call (for this dbus client only).

Skip ( i )

Description: Skip n calls in the result cursor (for this dbus client only).

Parameters:*

i: count Amount of calls to skip.

GetCallPath ( ) → s

Description: Path for the call the result cursor points to.

Returns:

s: call_path The path to the call.

GetResult ( ) → a{sv}

Description: Return the next call in the query result, and move the query to the next call.

Returns:

a{sv}: item fields of the result.

GetMultipleResults ( i ) → aa{sv}

Description: Get multiple calls from the result set at once.

Parameters:*

i: count The number of calls to get from the result set. A negative value means all.

Returns:

aa{sv}: resultset The list of the returned calls data.

Dispose ( )

Description: Delete the query result object.

Signals

CallAdded ( s )

Description: Sent when a new call which matches this query is loaded.

Parameters:

s: call_path The path of the newly loaded call.