DmfsTask

constructor(taskList: DmfsTaskList, values: Entity)

Parameters

taskList

task list where the task is stored

values

entity with all columns, as returned by the task provider; org.dmfs.tasks.contract.TaskContract.Tasks._ID must be set to a non-null value for existing tasks, and may be absent for new (unsaved) tasks


constructor(taskList: DmfsTaskList, task: Task, syncId: String?, eTag: String?, flags: Int)

Secondary constructor for creating a new (not yet saved) task.

Parameters

taskList

task list where the task will be stored

task

task data

syncId

remote file name (e.g. mytask.ics)

eTag

remote ETag

flags

local flags (e.g. at.bitfire.davdroid.resource.LocalResource.FLAG_REMOTELY_PRESENT)