YouTubeQuery
Object Hierarchy:
Description:
[
CCode ( lower_case_csuffix =
"youtube_query" , type_id =
"gdata_youtube_query_get_type ()" ) ]
[
Version ( since =
"0.3.0" ) ]
public class YouTubeQuery :
Query
All the fields in the YouTubeQuery structure are private and should never be accessed directly.
Content:
Properties:
- public YouTubeAge age { get; set; }
Restricts the search to videos uploaded within the specified time
period.
- public YouTubeFormat format { get; set; }
Specifies that videos must be available in a particular video format.
- public bool has_location { get; set; }
Whether to restrict search results to videos with specific coordinates
associated with them.
- public string language { get; set; }
Restricts the search to videos that have a title, description or
keywords in a specified language.
- public double latitude { get; set; }
The latitude of a particular location of which videos should be found.
- public string license { get; set; }
The content license which should be used to filter search results.
- public double location_radius { get; set; }
The radius, in metres, of a circle from within which videos should be
returned.
- public double longitude { get; set; }
The longitude of a particular location of which videos should be
found.
- public string order_by { get; set; }
Specifies the order of entries in a feed.
- public string restriction { get; set; }
An ISO 3166 two-letter country code that should be used to filter
videos playable only in specific countries.
- public YouTubeSafeSearch safe_search { get; set; }
Whether the search results should include restricted content as well
as standard content.
- public YouTubeSortOrder sort_order { get; set; }
Specifies the direction of sorting.
- public YouTubeUploader uploader { get; set; }
Restricts the search to videos from the specified type of uploader.
Creation methods:
Methods:
- public YouTubeAge get_age ()
- public YouTubeFormat get_format ()
- public unowned string get_language ()
- public unowned string get_license ()
- public void get_location (out double latitude, out double longitude, out double radius, out bool has_location)
- public unowned string get_order_by ()
- public unowned string get_restriction ()
- public YouTubeSafeSearch get_safe_search ()
- public YouTubeSortOrder get_sort_order ()
- public YouTubeUploader get_uploader ()
- public void set_age (YouTubeAge age)
Sets the age
property of the YouTubeQuery to age.
- public void set_format (YouTubeFormat format)
Sets the
format property of the YouTubeQuery to format.
- public void set_language (string? language)
Sets the
language property of the YouTubeQuery to the new language, language.
- public void set_license (string? license)
Sets the
license property of the YouTubeQuery to the new license value, license.
- public void set_location (double latitude, double longitude, double radius, bool has_location)
- public void set_order_by (string? order_by)
Sets the
order_by property of the YouTubeQuery to the new order by string, order_by.
- public void set_restriction (string? restriction)
Sets the
restriction property of the YouTubeQuery
to the new restriction string, restriction.
- public void set_safe_search (YouTubeSafeSearch safe_search)
Sets the
safe_search property of the YouTubeQuery
to safe_search.
- public void set_sort_order (YouTubeSortOrder sort_order)
Sets the
sort_order property of the YouTubeQuery
to sort_order.
- public void set_uploader (YouTubeUploader uploader)
Sets the
uploader property of the YouTubeQuery to uploader.
Inherited Members:
All known members inherited from class GData.Query
All known members inherited from class GLib.Object