remove_async


Description:


[ Version ( since = "0.7.0" ) ]
public async bool remove_async (string artist, string? album, int io_priority, Object? source_object, Cancellable? cancellable) throws Error

Removes media art for given album/artist provided.

Precisely the same operation as remove is performing, but asynchronously.

When all i/o for the operation is finished the callback will be called.

In case of a partial error the callback will be called with any succeeding items and no error, and on the next request the error will be reported. If a request is cancelled the callback will be called with g_io_error_cancelled.

During an async request no other sync and async calls are allowed, and will result in g_io_error_pending errors.

Any outstanding i/o request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. Default priority is g_priority_default.

All string inputs must be valid UTF8. Use validate if the input has not already been validated.

Parameters:

artist

artist the media art belongs to

album

album the media art belongs or null

io_priority

the I/O priority of the request

source_object

the Object this task belongs to, can be null .

cancellable

optional Cancellable object, null to ignore

callback

a TaskReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function


Namespace: MediaArt
Package: libmediaart-2.0