retrieve_capabilities


Description:

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

Warning: retrieve_capabilities 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. The call is finished by retrieve_capabilities.end from the callback.

Parameters:

this

an Client

cancellable

a Cancellable; can be null

callback

callback to call when a result is ready

user_data

user data for the callback




2022 vala-language.org