get_async


Description:

public async Attributes get_async (ulong[] attr_types, Cancellable? cancellable) throws Error

Get the specified attributes from the object.

The attributes will be cleared of their current values, and new attributes will be stored. The attributes should not be accessed in any way except for referencing and unreferencing them until get_async.end is called.

This call returns immediately and completes asynchronously.

Parameters:

this

The object to get attributes from.

attr_types

the types of the attributes to get

cancellable

optional cancellation object, or null

callback

A callback which is called when the operation completes.

n_attr_types

the number of attr_types

user_data

Data to be passed to the callback.




2022 vala-language.org