get_object_sync


Description:

[ Version ( since = "3.10" ) ]
public string get_object_sync (string uid, string? rid, Cancellable? cancellable = null) throws Error

Obtains an iCalendar string for an object identified by its uid and, optionally, rid.

The returned string should be freed with g_free when finished with it.

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

Parameters:

this

an CalBackend

uid

a unique ID for an iCalendar object

rid

a recurrence ID, or null

cancellable

optional Cancellable object, or null

Returns:

an Component, or null on error