freesmartphone.org PIM.Tasks Interface

Description

This interface provides access to the collection of PIM tasks.

Namespace

org.freesmartphone.PIM.Tasks

Methods

Signals

Properties

None

Errors

None

Methods

Add ( a{sv} ) → s

Description: Add a new task to the default backend for tasks.

Parameters:*

a{sv}: task_data The new tasks data.

Returns:

s: task_path The path of the added task.

GetSingleTaskSingleField ( a{sv}s ) → s

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

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 tasks.

Parameters:*

a{sv}: query The query.

Returns:

s: query_path The path for the started query.

Signals

NewTask ( s )

Description: Sent when a new task is loaded.

Parameters:

s: task_path The path of the newly loaded task.

UnfinishedTasks ( i )

Description: Sent when amount of unfinished tasks changes.

Parameters:

i: amount Amount of unfinished tasks.