query_standard_feed


Description:

public Feed query_standard_feed (YouTubeStandardFeedType feed_type, Query? query, Cancellable? cancellable, QueryProgressCallback? progress_callback) throws Error

Queries the service's standard feed_type feed to build a Feed.

Note that with the port from v2 to v3 of the YouTube API in libgdata 0.17.0, all feed types except gdata_youtube_most_popular_feed have been deprecated. Other feed types will now transparently return gdata_youtube_most_popular_feed, limited to the past 24 hours.

Parameters and errors are as for query.

Parameters:

this

a YouTubeService

feed_type

the feed type to query, from YouTubeStandardFeedType

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, or null; unref with unref