insert_entry_async


Description:

[ Version ( since = "0.9.0" ) ]
public async Entry insert_entry_async (AuthorizationDomain? domain, string upload_uri, Entry entry, Cancellable? cancellable) throws Error

Inserts entry by uploading it to the online service at upload_uri.

this, upload_uri and entry are all reffed/copied when this function is called, so can safely be freed after this function returns.

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

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

Parameters:

this

a Service

domain

the AuthorizationDomain the insertion operation falls under, or null

upload_uri

the URI to which the upload should be sent

entry

the Entry to insert

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when insertion is finished, or null

user_data

data to pass to the callback function