insert_task


Description:

public TasksTask insert_task (TasksTask task, TasksTasklist tasklist, Cancellable? cancellable = null) throws Error

Inserts task by uploading it to the online tasks service into tasklist tasklist.

It is safe to unref tasklist after function returns.

For more details, see insert_entry.

Parameters:

this

a TasksService

task

the TasksTask to insert

tasklist

TasksTasklist to insert into

cancellable

optional Cancellable object, or null

Returns:

an updated TasksTask, or null; unref with unref