Method

ECalClientget_objects_for_uid

since: 3.2

Declaration [src]

void
e_cal_client_get_objects_for_uid (
  ECalClient* client,
  const gchar* uid,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Queries a calendar for all calendar components with the given unique ID. This will return any recurring event and all its detached recurrences. For non-recurring events, it will just return the object with that ID. The call is finished by e_cal_client_get_objects_for_uid_finish() from the callback.

Available since: 3.2

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

Parameters

uid

Type: const gchar*

Unique identifier for a calendar component.

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

Type: GCancellable

A GCancellable; can be NULL.

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

Type: GAsyncReadyCallback

Callback to call when a result is ready.

The argument can be NULL.
user_data

Type: gpointer

User data for the callback.

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