get_sync


Description:

public bool get_sync (string key, out string out_value, Cancellable? cancellable = null) throws Error

Gets a stored value with given key, which had been previously put into the this with put_sync.

The returned string should be freed with g_free when no longer needed.

Parameters:

this

an CacheKeys

key

a key to get

out_value

return location for the stored value for the key

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.