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
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 | |
| entry |
the DocumentsEntry to add to |
| folder |
the DocumentsFolder to add |
| cancellable |
optional Cancellable object, or |
| callback |
a TaskReadyCallback to call when the operation is finished, or |
| user_data |
data to pass to the |