freesmartphone.org PIM.Contact Interface

Description

This interface provides access to one PIM contact.

Namespace

org.freesmartphone.PIM.Contact

Methods

Signals

Properties

None

Errors

None

Methods

GetContent ( ) → a{sv}

Description: Get the fields of one contact.

Returns:

a{sv}: contact_data The contact’s data.

GetMultipleFields ( s ) → a{sv}

Description: Get a specified field list of the contact’s data.

Parameters:*

s: field_list The list of fields to get, split by “,” (coma) char.

Returns:

a{sv}: field_data The data of the requested fields.

GetUsedBackends ( ) → as

Description: Get used backends in contact.

Returns:

as: backends The list of backends used in this contact.

Update ( a{sv} )

Description: Update one or more fields of this contact.

Parameters:*

a{sv}: contact_data The list of fields/values to update for this contact.

Delete ( )

Description: Delete this contact.

Signals

ContactDeleted ( )

ContactUpdated ( a{sv} )

Description: Sent when contact is updated.

Parameters:

a{sv}: data Data used to update contact.