Method

EDataCalCalBackenddiscard_alarm

since: 3.10

Declaration [src]

void
e_cal_backend_discard_alarm (
  ECalBackend* backend,
  const gchar* uid,
  const gchar* rid,
  const gchar* alarm_uid,
  ECalOperationFlags opflags,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

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 e_cal_backend_discard_alarm_finish() to get the result of the operation.

Available since: 3.10

This method completes asynchronously. Use e_cal_backend_discard_alarm_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

uid

Type: const gchar*

A unique ID for an iCalendar object.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
rid

Type: const gchar*

A recurrence ID, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
alarm_uid

Type: const gchar*

A unique ID for an iCalendar VALARM object.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
opflags

Type: ECalOperationFlags

Bit-or of ECalOperationFlags.

cancellable

Type: GCancellable

Optional GCancellable object, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

The argument can be NULL.
user_data

Type: gpointer

Data to pass to the callback function.

The argument can be NULL.
The data is owned by the caller of the method.