Queries the service for videos related to video
.
The algorithm determining which videos are related is on the server side. this and query
are both reffed when this function is called, so can safely be freed after this function returns.
For more details, see query_related, which is the synchronous version of this function.
When the operation is finished, callback
will be called. You can then call
query_async.end to get the results of the operation.
this |
a Service |
video |
a YouTubeVideo for which to find related videos |
query |
a Query with the query parameters, or |
cancellable |
optional Cancellable object, or |
progress_callback |
a QueryProgressCallback to call when an entry is loaded, or |
callback |
a TaskReadyCallback to call when authentication is finished |
destroy_progress_user_data |
the function to call when |
progress_user_data |
data to pass to the |
user_data |
data to pass to the |