get_categories_async


Description:

[ Version ( since = "0.7.0" ) ]
public async APPCategories get_categories_async (Cancellable? cancellable) throws Error

Gets a list of the categories currently in use on YouTube.

this is reffed when this function is called, so can safely be unreffed after this function returns.

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

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

Parameters:

this

a YouTubeService

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is finished

user_data

data to pass to the callback function