YouTubeService
Object Hierarchy:
Description:
All the fields in the YouTubeService structure are private and should never be
accessed directly.
Namespace: GData
Package: libgdata
Content:
Properties:
Static methods:
Creation methods:
Methods:
-
public YouTubeVideo finish_video_upload (UploadStream upload_stream) throws Error
-
public APPCategories get_categories (Cancellable? cancellable) throws Error
Gets a list of the categories currently in use on YouTube. The returned
APPCategories contains a list of
YouTubeCategorys which enumerate the current YouTube categories.
-
public async APPCategories get_categories_async (Cancellable? cancellable) throws Error
Gets a list of the categories currently in use on YouTube. self is reffed when this
function is called, so can safely be unreffed after this function returns.
-
public unowned string get_developer_key ()
-
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.
-
public async void query_related_async (YouTubeVideo video, Query? query, Cancellable? cancellable, QueryProgressCallback progress_callback)
Queries the service for videos related to video. The algorithm determining which videos are
related is on the server side. self and query are both reffed when this function is called, so can safely be
freed after this function returns.
-
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.
-
public async void query_standard_feed_async (YouTubeStandardFeedType feed_type, Query? query, Cancellable? cancellable, QueryProgressCallback progress_callback)
Queries the service's standard feed_type feed to build a
Feed. self and query are both reffed when this function is
called, so can safely be freed after this function returns.
-
public Feed query_videos (Query? query, Cancellable? cancellable, QueryProgressCallback progress_callback) throws Error
Queries the service for videos matching the parameters set on the
Query. This searches site-wide, and imposes no other restrictions or parameters on the
query.
-
public async void query_videos_async (Query? query, Cancellable? cancellable, QueryProgressCallback progress_callback)
Queries the service for videos matching the parameters set on the
Query. This searches site-wide, and imposes no other restrictions or parameters on the
query. self and query are both reffed when this function is called, so can safely be freed after this
function returns.
-
public UploadStream upload_video (YouTubeVideo video, string slug, string content_type, Cancellable? cancellable) throws Error
Uploads a video to YouTube, using the properties from video and the file data written to
the resulting UploadStream.