insert_album_async


Description:

[ Version ( since = "0.8.0" ) ]
public async void insert_album_async (PicasaWebAlbum album, Cancellable? cancellable)

Inserts a new album described by album.

The user must be authenticated to use this function. this and album are both reffed when this function is called, so can safely be unreffed after this function returns.

callback should call insert_entry_async.end to obtain a PicasaWebAlbum representing the inserted album and to check for possible errors.

For more details, see insert_album, which is the synchronous version of this function, and insert_entry_async, which is the base asynchronous insertion function.

Parameters:

this

a PicasaWebService

album

a PicasaWebAlbum to create on the server

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when insertion is finished

user_data

data to pass to the callback function