Tasks

The task table stores the data of all tasks.

Author

Marten Gajda

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val _COUNT: String = "_count"
Link copied to clipboard
val _DELETED: String = "_deleted"
Deleted flag of a task.
Link copied to clipboard
val _DIRTY: String = "_dirty"
Indicates that a task or a task list has been changed.
Link copied to clipboard
val _ID: String = "_id"
The row id of a task.
Link copied to clipboard
val _SYNC_ID: String = "_sync_id"
A unique Sync ID as set by the sync adapter.
Link copied to clipboard
val _UID: String = "_uid"
The UID of a task.
Link copied to clipboard
val ACCOUNT_NAME: String = "account_name"
The name of the account the task belongs to.
Link copied to clipboard
val ACCOUNT_TYPE: String = "account_type"
The type of the account the task belongs to.
Link copied to clipboard
val CLASSIFICATION: String = "class"
The classification of a task.
Link copied to clipboard
Classification value for confidential tasks.
Link copied to clipboard
Link copied to clipboard
Classification value for private tasks.
Link copied to clipboard
Classification value for public tasks.
Link copied to clipboard
val COMPLETED: String = "completed"
Date of completion of this task in milliseconds since the epoch or null if this task has not been completed yet.
Link copied to clipboard
val COMPLETED_IS_ALLDAY: String = "completed_is_allday"
Indicates that the date of completion is an all-day date.
Link copied to clipboard
val CONTENT_URI_PATH: String = "tasks"
Link copied to clipboard
val CREATED: String = "created"
When this task has been created in milliseconds since the epoch.
Link copied to clipboard
Link copied to clipboard
val DESCRIPTION: String = "description"
The description of a task.
Link copied to clipboard
val DTSTART: String = "dtstart"
When this task starts in milliseconds since the epoch.
Link copied to clipboard
val DUE: String = "due"
When this task is due in milliseconds since the epoch.
Link copied to clipboard
val DURATION: String = "duration"
The duration of this task.
Link copied to clipboard
val EXDATE: String = "exdate"
A comma separated list of time Strings in RFC 5545 format (see RFC 5545 Section 3.3.4 and RFC 5545 Section 3.3.5) that contains dates of exceptions of a recurring task.
Link copied to clipboard
val GEO: String = "geo"
A geographic location related to the task.
Link copied to clipboard
val HAS_ALARMS: String = "has_alarms"
Indicates how many alarms a task has.
Link copied to clipboard
val HAS_PROPERTIES: String = "has_properties"
Indicates that this task has extended properties like attachments, alarms or relations.
Link copied to clipboard
val IS_ALLDAY: String = "is_allday"
Boolean: flag that indicates that this is an all-day task.
Link copied to clipboard
val IS_CLOSED: String = "is_closed"
A flag that indicates a task is closed (no more work has to be done).
Link copied to clipboard
val IS_NEW: String = "is_new"
A flag that indicates a task is new (i.e.
Link copied to clipboard
val LAST_MODIFIED: String = "last_modified"
When this task had been modified the last time in milliseconds since the epoch.
Link copied to clipboard
val LIST_ACCESS_LEVEL: String = "list_access_level"
The access level of the list this task belongs.
Link copied to clipboard
val LIST_COLOR: String = "list_color"
The color of the list this task belongs to as integer (0xaarrggbb).
Link copied to clipboard
val LIST_ID: String = "list_id"
The id of the list this task belongs to.
Link copied to clipboard
val LIST_NAME: String = "list_name"
The name of the list this task belongs to as integer (0xaarrggbb).
Link copied to clipboard
val LIST_OWNER: String = "list_owner"
The owner of the list this task belongs.
Link copied to clipboard
val LOCATION: String = "location"
The location of the task.
Link copied to clipboard
val ORGANIZER: String = "organizer"
The email address of the organizer if any, null otherwise.
Link copied to clipboard
val ORIGINAL_INSTANCE_ALLDAY: String = "original_instance_allday"
A flag indicating that the original instance was an all-day task.
Link copied to clipboard
val ORIGINAL_INSTANCE_ID: String = "original_instance_id"
The row id of the original event if this is an exception, null otherwise.
Link copied to clipboard
val ORIGINAL_INSTANCE_SYNC_ID: String = "original_instance_sync_id"
The _sync_id of the original event if this is an exception, null otherwise.
Link copied to clipboard
val ORIGINAL_INSTANCE_TIME: String = "original_instance_time"
The time in milliseconds since the Epoch of the original instance that is overridden by this instance or null if this task is not a recurring instance.
Link copied to clipboard
val PARENT_ID: String = "parent_id"
The row id of the parent task.
Link copied to clipboard
val PERCENT_COMPLETE: String = "percent_complete"
A number between 0 and 100 that indicates the progress of the task or null.
Link copied to clipboard
val PINNED: String = "pinned"
Indicates that this task has been pinned to the notification area.
Link copied to clipboard
val PRIORITY: String = "priority"
The priority of a task.
Link copied to clipboard
The default value of PRIORITY.
Link copied to clipboard
val RDATE: String = "rdate"
A comma separated list of time Strings in RFC 5545 format (see RFC 5545 Section 3.3.4 and RFC 5545 Section 3.3.5) that contains dates of instances of e recurring task.
Link copied to clipboard
val RRULE: String = "rrule"
A recurrence rule as specified in RFC 5545 Section 3.3.10.
Link copied to clipboard
val SCORE: String = "score"
The score of a task in a search result.
Link copied to clipboard
Link copied to clipboard
val SEARCH_URI_PATH: String = "tasks_search"
Link copied to clipboard
val SORTING: String = "sorting"
The sorting of this task under it's parent task.
Link copied to clipboard
val STATUS: String = "status"
The status of this task.
Link copied to clipboard
A specific status indicating that the task has been cancelled.
Link copied to clipboard
A specific status indicating that the task is completed.
Link copied to clipboard
The default status is "needs action".
Link copied to clipboard
A specific status indicating that some work has been done.
Link copied to clipboard
A specific status indicating that nothing has been done yet.
Link copied to clipboard
val SYNC1: String = "sync1"
A general purpose column for the sync adapter.
Link copied to clipboard
val SYNC2: String = "sync2"
A general purpose column for the sync adapter.
Link copied to clipboard
val SYNC3: String = "sync3"
A general purpose column for the sync adapter.
Link copied to clipboard
val SYNC4: String = "sync4"
A general purpose column for the sync adapter.
Link copied to clipboard
val SYNC5: String = "sync5"
A general purpose column for the sync adapter.
Link copied to clipboard
val SYNC6: String = "sync6"
A general purpose column for the sync adapter.
Link copied to clipboard
val SYNC7: String = "sync7"
A general purpose column for the sync adapter.
Link copied to clipboard
val SYNC8: String = "sync8"
A general purpose column for the sync adapter.
Link copied to clipboard
Link copied to clipboard
val SYNC_VERSION: String = "sync_version"
Sync version as set by the sync adapter.
Link copied to clipboard
val TASK_COLOR: String = "task_color"
An individual color for this task in the format 0xaarrggbb or null to use LIST_COLOR instead.
Link copied to clipboard
val TITLE: String = "title"
The title of the task.
Link copied to clipboard
val TZ: String = "tz"
String: An Olson Id of the time zone of this task.
Link copied to clipboard
val URL: String = "url"
The URL iCalendar field for this task.
Link copied to clipboard
val VERSION: String = "version"
The local version number of this task.
Link copied to clipboard
val VISIBLE: String = "visible"
The visibility of the list this task belongs.

Functions

Link copied to clipboard
open fun getContentUri(authority: String): Uri
Get the tasks content Uri using the given authority.
Link copied to clipboard
open fun getSearchUri(authority: String, query: String): Uri