get_data_async


Description:

public async uint8[] get_data_async (ulong attr_type, Allocator allocator, Cancellable? cancellable) throws Error

Get the data for the specified attribute from the object.

This call will return immediately and complete asynchronously.

Parameters:

this

The object to get attribute data from.

attr_type

The attribute to get data for.

allocator

An allocator with which to allocate memory for the data, or null for default.

cancellable

Optional cancellation object, or null.

callback

Called when the operation completes.

user_data

Data to be passed to the callback.