retrieve_capabilities_sync


Description:

[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.2" ) ]
public virtual bool retrieve_capabilities_sync (out string capabilities, Cancellable? cancellable = null) throws Error

Warning: retrieve_capabilities_sync is deprecated since 3.8.

Initiates retrieval of capabilities on the this.

Note:

Use get_capabilities instead.

This is usually required only once, after the this is opened. The returned value is cached and any subsequent call of get_capabilities and check_capability is using the cached value. Returned value of capabilities should be freed with g_free, when no longer needed.

Parameters:

this

an Client

capabilities

Comma-separated list of capabilities of the this

cancellable

a Cancellable; can be null

Returns:

true if successful, false otherwise.