discard_alarm_sync


Description:

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

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

If an error occurs, the function will set throws and return false.

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

Returns:

true on success, false on failure