add_entry_to_folder_async


Description:

[ Version ( since = "0.8.0" ) ]
public async DocumentsEntry add_entry_to_folder_async (DocumentsEntry entry, DocumentsFolder folder, Cancellable? cancellable) throws Error

Add the given entry to the specified folder.

this, entry and folder are all reffed when this function is called, so can safely be unreffed after this function returns.

For more details, see add_entry_to_folder, which is the synchronous version of this function.

When the operation is finished, callback will be called. You can then call add_entry_to_folder_async.end to get the results of the operation.

Parameters:

this

a DocumentsService

entry

the DocumentsEntry to add to folder

folder

the DocumentsFolder to add entry to

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the operation is finished, or null

user_data

data to pass to the callback function