query_related


Description:

public Feed query_related (YouTubeVideo video, Query? query, Cancellable? cancellable, QueryProgressCallback? progress_callback) throws Error

Queries the service for videos related to video.

The algorithm determining which videos are related is on the server side.

Parameters and other errors are as for query.

Parameters:

this

a YouTubeService

video

a YouTubeVideo for which to find related videos

query

a Query with the query parameters, or null

cancellable

optional Cancellable object, or null

progress_callback

a QueryProgressCallback to call when an entry is loaded, or null

progress_user_data

data to pass to the progress_callback function

Returns:

a Feed of query results; unref with unref




2022 vala-language.org