discard_alarm


Description:

[ Version ( since = "3.10" ) ]
public async bool discard_alarm (string uid, string? rid, string alarm_uid, OperationFlags opflags, Cancellable? cancellable) throws Error

Asynchronously discards the VALARM object with a unique ID of alarm_uid from the iCalendar object identified by uid and, optionally, rid.

When the operation is finished, callback will be called. You can then call discard_alarm.end to get the result of the operation.

Parameters:

this

an CalBackend

uid

a unique ID for an iCalendar object

rid

a recurrence ID, or null

alarm_uid

a unique ID for an iCalendar VALARM object

opflags

bit-or of OperationFlags

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function