1 /* libgdata.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "GData", lower_case_cprefix = "gdata_")]
5 [CCode (cheader_filename = "gdata/gdata.h")]
6 public class AccessRule : GData.Entry {
7 public unowned string get_role ();
8 public void get_scope (string type, string value);
9 [CCode (has_construct_function = false)]
10 public AccessRule (string id);
11 public void set_role (string role);
12 public void set_scope (string type, string value);
13 public string role { get; set; }
15 public string scope_type { owned get; set; }
17 public string scope_value { owned get; set; }
19 [CCode (cheader_filename = "gdata/gdata.h")]
20 public class Author : GData.Parsable {
21 public int compare (GData.Author b);
22 public unowned string get_email_address ();
23 public unowned string get_name ();
24 public unowned string get_uri ();
25 [CCode (has_construct_function = false)]
26 public Author (string name, string uri, string email_address);
27 public void set_email_address (string email_address);
28 public void set_name (string name);
29 public void set_uri (string uri);
30 public string email_address { get; set; }
31 public string name { get; set; }
32 public string uri { get; set; }
34 [CCode (cheader_filename = "gdata/gdata.h")]
35 public class CalendarCalendar : GData.Entry, GData.AccessHandler {
36 public unowned string get_access_level ();
37 public void get_color (GData.Color color);
38 public void get_edited (GLib.TimeVal edited);
39 public uint get_times_cleaned ();
40 public unowned string get_timezone ();
41 [CCode (has_construct_function = false)]
42 public CalendarCalendar (string id);
43 public void set_color (GData.Color color);
44 public void set_is_hidden (bool is_hidden);
45 public void set_is_selected (bool is_selected);
46 public void set_timezone (string _timezone);
47 public string access_level { get; }
48 public GData.Color color { get; set; }
49 public GLib.TimeVal edited { get; }
51 public bool is_hidden { get; set; }
53 public bool is_selected { get; set; }
54 public uint times_cleaned { get; }
55 public string timezone { get; set; }
57 [CCode (cheader_filename = "gdata/gdata.h")]
58 public class CalendarEvent : GData.Entry {
59 public void add_person (GData.GDWho who);
60 public void add_place (GData.GDWhere where);
61 public void add_time (GData.GDWhen when);
62 public bool get_anyone_can_add_self ();
63 public void get_edited (GLib.TimeVal edited);
64 public bool get_guests_can_invite_others ();
65 public bool get_guests_can_modify ();
66 public bool get_guests_can_see_guests ();
67 public void get_original_event_details (string event_id, string event_uri);
68 public unowned GLib.List get_people ();
69 public unowned GLib.List get_places ();
70 public bool get_primary_time (GLib.TimeVal start_time, GLib.TimeVal end_time, out unowned GData.GDWhen when);
71 public unowned string get_recurrence ();
72 public uint get_sequence ();
73 public unowned string get_status ();
74 public unowned GLib.List get_times ();
75 public unowned string get_transparency ();
76 public unowned string get_uid ();
77 public unowned string get_visibility ();
78 public bool is_exception ();
79 [CCode (has_construct_function = false)]
80 public CalendarEvent (string id);
81 public void set_anyone_can_add_self (bool anyone_can_add_self);
82 public void set_guests_can_invite_others (bool guests_can_invite_others);
83 public void set_guests_can_modify (bool guests_can_modify);
84 public void set_guests_can_see_guests (bool guests_can_see_guests);
85 public void set_recurrence (string recurrence);
86 public void set_sequence (uint sequence);
87 public void set_status (string status);
88 public void set_transparency (string transparency);
89 public void set_uid (string uid);
90 public void set_visibility (string visibility);
91 public bool anyone_can_add_self { get; set; }
92 public GLib.TimeVal edited { get; }
93 public bool guests_can_invite_others { get; set; }
94 public bool guests_can_modify { get; set; }
95 public bool guests_can_see_guests { get; set; }
97 public string original_event_id { owned get; }
99 public string original_event_uri { owned get; }
100 public string recurrence { get; set; }
101 public uint sequence { get; set; }
102 public string status { get; set; }
103 public string transparency { get; set; }
104 public string uid { get; set; }
105 public string visibility { get; set; }
107 [CCode (cheader_filename = "gdata/gdata.h")]
108 public class CalendarFeed : GData.Feed {
109 public uint get_times_cleaned ();
110 public unowned string get_timezone ();
111 public uint times_cleaned { get; }
112 public string timezone { get; }
114 [CCode (cheader_filename = "gdata/gdata.h")]
115 public class CalendarQuery : GData.Query {
116 public bool get_future_events ();
117 public unowned string get_order_by ();
118 public void get_recurrence_expansion_end (GLib.TimeVal end);
119 public void get_recurrence_expansion_start (GLib.TimeVal start);
120 public bool get_single_events ();
121 public unowned string get_sort_order ();
122 public void get_start_max (GLib.TimeVal start_max);
123 public void get_start_min (GLib.TimeVal start_min);
124 public unowned string get_timezone ();
125 [CCode (has_construct_function = false)]
126 public CalendarQuery (string q);
127 public void set_future_events (bool future_events);
128 public void set_order_by (string order_by);
129 public void set_recurrence_expansion_end (GLib.TimeVal end);
130 public void set_recurrence_expansion_start (GLib.TimeVal start);
131 public void set_single_events (bool single_events);
132 public void set_sort_order (string sort_order);
133 public void set_start_max (GLib.TimeVal start_max);
134 public void set_start_min (GLib.TimeVal start_min);
135 public void set_timezone (string _timezone);
136 [CCode (has_construct_function = false)]
137 public CalendarQuery.with_limits (string q, GLib.TimeVal start_min, GLib.TimeVal start_max);
138 public bool future_events { get; set; }
139 public string order_by { get; set; }
140 public GLib.TimeVal recurrence_expansion_end { get; set; }
141 public GLib.TimeVal recurrence_expansion_start { get; set; }
142 public bool single_events { get; set; }
143 public string sort_order { get; set; }
144 public GLib.TimeVal start_max { get; set; }
145 public GLib.TimeVal start_min { get; set; }
146 public string timezone { get; set; }
148 [CCode (cheader_filename = "gdata/gdata.h")]
149 public class CalendarService : GData.Service {
150 public unowned GData.CalendarEvent insert_event (GData.CalendarEvent event, GLib.Cancellable cancellable) throws GLib.Error;
151 [CCode (has_construct_function = false)]
152 public CalendarService (string client_id);
153 public unowned GData.Feed query_all_calendars (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
154 public void query_all_calendars_async (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data, GLib.AsyncReadyCallback callback);
155 public unowned GData.Feed query_events (GData.CalendarCalendar calendar, GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
156 public unowned GData.Feed query_own_calendars (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
157 public void query_own_calendars_async (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data, GLib.AsyncReadyCallback callback);
159 [CCode (cheader_filename = "gdata/gdata.h")]
160 public class Category : GData.Parsable {
161 public int compare (GData.Category b);
162 public unowned string get_label ();
163 public unowned string get_scheme ();
164 public unowned string get_term ();
165 [CCode (has_construct_function = false)]
166 public Category (string term, string scheme, string label);
167 public void set_label (string label);
168 public void set_scheme (string scheme);
169 public void set_term (string term);
170 public string label { get; set; }
171 public string scheme { get; set; }
172 public string term { get; set; }
175 [CCode (type_id = "GDATA_TYPE_COLOR", cheader_filename = "gdata/gdata.h")]
180 public static bool from_hexadecimal (string hexadecimal, GData.Color color);
181 public unowned string to_hexadecimal ();
183 [CCode (cheader_filename = "gdata/gdata.h")]
184 public class ContactsContact : GData.Entry {
185 public void add_email_address (GData.GDEmailAddress email_address);
186 public void add_group (string href);
187 public void add_im_address (GData.GDIMAddress im_address);
188 public void add_organization (GData.GDOrganization organization);
189 public void add_phone_number (GData.GDPhoneNumber phone_number);
190 public void add_postal_address (GData.GDPostalAddress postal_address);
191 public void get_edited (GLib.TimeVal edited);
192 public unowned GLib.List get_email_addresses ();
193 public unowned GLib.HashTable get_extended_properties ();
194 public unowned string get_extended_property (string name);
195 public unowned GLib.List get_groups ();
196 public unowned GLib.List get_im_addresses ();
197 public unowned GLib.List get_organizations ();
198 public unowned GLib.List get_phone_numbers ();
199 public unowned string get_photo (GData.ContactsService service, size_t length, string content_type, GLib.Cancellable cancellable) throws GLib.Error;
200 public unowned GLib.List get_postal_addresses ();
201 public unowned GData.GDEmailAddress get_primary_email_address ();
202 public unowned GData.GDIMAddress get_primary_im_address ();
203 public unowned GData.GDOrganization get_primary_organization ();
204 public unowned GData.GDPhoneNumber get_primary_phone_number ();
205 public unowned GData.GDPostalAddress get_primary_postal_address ();
206 public bool is_deleted ();
207 public bool is_group_deleted (string href);
208 [CCode (has_construct_function = false)]
209 public ContactsContact (string id);
210 public void remove_group (string href);
211 public bool set_extended_property (string name, string value);
212 public bool set_photo (GData.Service service, string data, size_t length, GLib.Cancellable cancellable) throws GLib.Error;
214 public bool deleted { get; }
215 public GLib.TimeVal edited { get; }
217 public bool has_photo { get; }
219 [CCode (cheader_filename = "gdata/gdata.h")]
220 public class ContactsQuery : GData.Query {
221 public unowned string get_group ();
222 public unowned string get_order_by ();
223 public unowned string get_sort_order ();
224 [CCode (has_construct_function = false)]
225 public ContactsQuery (string q);
226 public void set_group (string group);
227 public void set_order_by (string order_by);
228 public void set_show_deleted (bool show_deleted);
229 public void set_sort_order (string sort_order);
230 [CCode (has_construct_function = false)]
231 public ContactsQuery.with_limits (string q, int start_index, int max_results);
232 public string group { get; set; }
233 public string order_by { get; set; }
235 public bool show_deleted { get; set; }
236 public string sort_order { get; set; }
238 [CCode (cheader_filename = "gdata/gdata.h")]
239 public class ContactsService : GData.Service {
240 public unowned GData.ContactsContact insert_contact (GData.ContactsContact contact, GLib.Cancellable cancellable) throws GLib.Error;
241 [CCode (has_construct_function = false)]
242 public ContactsService (string client_id);
243 public unowned GData.Feed query_contacts (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
244 public void query_contacts_async (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data, GLib.AsyncReadyCallback callback);
245 public unowned GData.ContactsContact update_contact (GData.ContactsContact contact, GLib.Cancellable cancellable) throws GLib.Error;
247 [CCode (cheader_filename = "gdata/gdata.h")]
248 public class Entry : GData.Parsable {
249 public void add_author (GData.Author author);
250 public void add_category (GData.Category category);
251 public void add_link (GData.Link link);
252 public unowned GLib.List get_categories ();
253 public unowned string get_content ();
254 public unowned string get_etag ();
255 public unowned string get_id ();
256 public void get_published (GLib.TimeVal published);
257 public unowned string get_summary ();
258 public unowned string get_title ();
259 public void get_updated (GLib.TimeVal updated);
260 public unowned GData.Link look_up_link (string rel);
261 [CCode (has_construct_function = false)]
262 public Entry (string id);
263 public void set_content (string content);
264 public void set_summary (string summary);
265 public void set_title (string title);
266 public string content { get; set; }
267 public string etag { get; construct; }
268 public string id { get; construct; }
270 public bool is_inserted { get; }
271 public GLib.TimeVal published { get; }
272 public string summary { get; set; }
273 public string title { get; set; }
274 public GLib.TimeVal updated { get; }
276 [CCode (cheader_filename = "gdata/gdata.h")]
277 public class Feed : GData.Parsable {
278 public unowned GLib.List get_authors ();
279 public unowned GLib.List get_categories ();
280 public unowned GLib.List get_entries ();
281 public unowned string get_etag ();
282 public unowned GData.Generator get_generator ();
283 public unowned string get_id ();
284 public uint get_items_per_page ();
285 public unowned GLib.List get_links ();
286 public unowned string get_logo ();
287 public uint get_start_index ();
288 public unowned string get_subtitle ();
289 public unowned string get_title ();
290 public uint get_total_results ();
291 public void get_updated (GLib.TimeVal updated);
292 public unowned GData.Entry look_up_entry (string id);
293 public unowned GData.Link look_up_link (string rel);
294 public string etag { get; }
295 public GData.Generator generator { get; }
296 public string id { get; }
297 public uint items_per_page { get; }
298 public string logo { get; }
299 public uint start_index { get; }
300 public string subtitle { get; }
301 public string title { get; }
302 public uint total_results { get; }
303 public GLib.TimeVal updated { get; }
305 [CCode (cheader_filename = "gdata/gdata.h")]
306 public class GDEmailAddress : GData.Parsable {
307 public int compare (GData.GDEmailAddress b);
308 public unowned string get_address ();
309 public unowned string get_label ();
310 public unowned string get_relation_type ();
311 [CCode (has_construct_function = false)]
312 public GDEmailAddress (string address, string relation_type, string label, bool is_primary);
313 public void set_address (string address);
314 public void set_is_primary (bool is_primary);
315 public void set_label (string label);
316 public void set_relation_type (string relation_type);
317 public string address { get; set; }
319 public bool is_primary { get; set; }
320 public string label { get; set; }
321 public string relation_type { get; set; }
323 [CCode (cheader_filename = "gdata/gdata.h")]
324 public class GDIMAddress : GData.Parsable {
325 [CCode (cname = "gdata_gd_im_address_compare")]
326 public int compare (GData.GDIMAddress b);
327 [CCode (cname = "gdata_gd_im_address_get_address")]
328 public unowned string get_address ();
329 [CCode (cname = "gdata_gd_im_address_get_label")]
330 public unowned string get_label ();
331 [CCode (cname = "gdata_gd_im_address_get_protocol")]
332 public unowned string get_protocol ();
333 [CCode (cname = "gdata_gd_im_address_get_relation_type")]
334 public unowned string get_relation_type ();
335 [CCode (cname = "gdata_gd_im_address_new", has_construct_function = false)]
336 public GDIMAddress (string address, string protocol, string relation_type, string label, bool is_primary);
337 [CCode (cname = "gdata_gd_im_address_set_address")]
338 public void set_address (string address);
339 [CCode (cname = "gdata_gd_im_address_set_is_primary")]
340 public void set_is_primary (bool is_primary);
341 [CCode (cname = "gdata_gd_im_address_set_label")]
342 public void set_label (string label);
343 [CCode (cname = "gdata_gd_im_address_set_protocol")]
344 public void set_protocol (string protocol);
345 [CCode (cname = "gdata_gd_im_address_set_relation_type")]
346 public void set_relation_type (string relation_type);
347 public string address { get; set; }
349 public bool is_primary { get; set; }
350 public string label { get; set; }
351 public string protocol { get; set; }
352 public string relation_type { get; set; }
354 [CCode (cheader_filename = "gdata/gdata.h")]
355 public class GDOrganization : GData.Parsable {
356 public int compare (GData.GDOrganization b);
357 public unowned string get_label ();
358 public unowned string get_name ();
359 public unowned string get_relation_type ();
360 public unowned string get_title ();
361 [CCode (has_construct_function = false)]
362 public GDOrganization (string name, string title, string relation_type, string label, bool is_primary);
363 public void set_is_primary (bool is_primary);
364 public void set_label (string label);
365 public void set_name (string name);
366 public void set_relation_type (string relation_type);
367 public void set_title (string title);
369 public bool is_primary { get; set; }
370 public string label { get; set; }
371 public string name { get; set; }
372 public string relation_type { get; set; }
373 public string title { get; set; }
375 [CCode (cheader_filename = "gdata/gdata.h")]
376 public class GDPhoneNumber : GData.Parsable {
377 public int compare (GData.GDPhoneNumber b);
378 public unowned string get_label ();
379 public unowned string get_number ();
380 public unowned string get_relation_type ();
381 public unowned string get_uri ();
382 [CCode (has_construct_function = false)]
383 public GDPhoneNumber (string number, string relation_type, string label, string uri, bool is_primary);
384 public void set_is_primary (bool is_primary);
385 public void set_label (string label);
386 public void set_number (string number);
387 public void set_relation_type (string relation_type);
388 public void set_uri (string uri);
390 public bool is_primary { get; set; }
391 public string label { get; set; }
392 public string number { get; set; }
393 public string relation_type { get; set; }
394 public string uri { get; set; }
396 [CCode (cheader_filename = "gdata/gdata.h")]
397 public class GDPostalAddress : GData.Parsable {
398 public int compare (GData.GDPostalAddress b);
399 public unowned string get_address ();
400 public unowned string get_label ();
401 public unowned string get_relation_type ();
402 [CCode (has_construct_function = false)]
403 public GDPostalAddress (string address, string relation_type, string label, bool is_primary);
404 public void set_address (string address);
405 public void set_is_primary (bool is_primary);
406 public void set_label (string label);
407 public void set_relation_type (string relation_type);
408 public string address { get; set; }
410 public bool is_primary { get; set; }
411 public string label { get; set; }
412 public string relation_type { get; set; }
414 [CCode (cheader_filename = "gdata/gdata.h")]
415 public class GDReminder : GData.Parsable {
416 public int compare (GData.GDReminder b);
417 public void get_absolute_time (GLib.TimeVal absolute_time);
418 public unowned string get_method ();
419 public int get_relative_time ();
420 [CCode (has_construct_function = false)]
421 public GDReminder (string method, GLib.TimeVal absolute_time, int relative_time);
422 public void set_absolute_time (GLib.TimeVal absolute_time);
423 public void set_method (string method);
424 public void set_relative_time (int relative_time);
425 public GLib.TimeVal absolute_time { get; set; }
427 public bool is_absolute_time { get; }
428 public string method { get; set; }
429 public int relative_time { get; set; }
431 [CCode (cheader_filename = "gdata/gdata.h")]
432 public class GDWhen : GData.Parsable {
433 public int compare (GData.GDWhen b);
434 public void get_end_time (GLib.TimeVal end_time);
435 public unowned GLib.List get_reminders ();
436 public void get_start_time (GLib.TimeVal start_time);
437 public unowned string get_value_string ();
438 [CCode (has_construct_function = false)]
439 public GDWhen (GLib.TimeVal start_time, GLib.TimeVal end_time, bool is_date);
440 public void set_end_time (GLib.TimeVal end_time);
441 public void set_is_date (bool is_date);
442 public void set_start_time (GLib.TimeVal start_time);
443 public void set_value_string (string value_string);
444 public GLib.TimeVal end_time { get; set; }
446 public bool is_date { get; set; }
447 public GLib.TimeVal start_time { get; set; }
448 public string value_string { get; set; }
450 [CCode (cheader_filename = "gdata/gdata.h")]
451 public class GDWhere : GData.Parsable {
452 public int compare (GData.GDWhere b);
453 public unowned string get_label ();
454 public unowned string get_relation_type ();
455 public unowned string get_value_string ();
456 [CCode (has_construct_function = false)]
457 public GDWhere (string relation_type, string value_string, string label);
458 public void set_label (string label);
459 public void set_relation_type (string relation_type);
460 public void set_value_string (string value_string);
461 public string label { get; set; }
462 public string relation_type { get; set; }
463 public string value_string { get; set; }
465 [CCode (cheader_filename = "gdata/gdata.h")]
466 public class GDWho : GData.Parsable {
467 public int compare (GData.GDWho b);
468 public unowned string get_email_address ();
469 public unowned string get_relation_type ();
470 public unowned string get_value_string ();
471 [CCode (has_construct_function = false)]
472 public GDWho (string relation_type, string value_string, string email_address);
473 public void set_email_address (string email_address);
474 public void set_relation_type (string relation_type);
475 public void set_value_string (string value_string);
476 public string email_address { get; set; }
477 public string relation_type { get; set; }
478 public string value_string { get; set; }
481 [CCode (type_id = "GDATA_TYPE_GTIME_VAL", cheader_filename = "gdata/gdata.h")]
482 public class GTimeVal {
484 [CCode (cheader_filename = "gdata/gdata.h")]
485 public class Generator : GData.Parsable {
486 public int compare (GData.Generator b);
487 public unowned string get_name ();
488 public unowned string get_uri ();
489 public unowned string get_version ();
490 public string name { get; }
491 public string uri { get; }
492 public string version { get; }
494 [CCode (cheader_filename = "gdata/gdata.h")]
495 public class Link : GData.Parsable {
496 public int compare (GData.Link b);
497 public unowned string get_content_type ();
498 public unowned string get_language ();
499 public int get_length ();
500 public unowned string get_relation_type ();
501 public unowned string get_title ();
502 public unowned string get_uri ();
503 [CCode (has_construct_function = false)]
504 public Link (string uri, string relation_type);
505 public void set_content_type (string content_type);
506 public void set_language (string language);
507 public void set_length (int length);
508 public void set_relation_type (string relation_type);
509 public void set_title (string title);
510 public void set_uri (string uri);
511 public string content_type { get; set; }
512 public string language { get; set; }
513 public int length { get; set; }
514 public string relation_type { get; set; }
515 public string title { get; set; }
516 public string uri { get; set; }
518 [CCode (cheader_filename = "gdata/gdata.h")]
519 public class MediaCategory : GData.Parsable {
520 public unowned string get_category ();
521 public unowned string get_label ();
522 public unowned string get_scheme ();
523 [CCode (has_construct_function = false)]
524 public MediaCategory (string category, string scheme, string label);
525 public void set_category (string category);
526 public void set_label (string label);
527 public void set_scheme (string scheme);
528 public string category { get; set; }
529 public string label { get; set; }
530 public string scheme { get; set; }
532 [CCode (cheader_filename = "gdata/gdata.h")]
533 public class MediaContent : GData.Parsable {
534 public unowned string get_content_type ();
535 public int64 get_duration ();
536 public GData.MediaExpression get_expression ();
537 public size_t get_filesize ();
538 public uint get_height ();
539 public GData.MediaMedium get_medium ();
540 public unowned string get_uri ();
541 public uint get_width ();
542 public string content_type { get; }
543 public int64 duration { get; }
544 public GData.MediaExpression expression { get; }
545 public ulong filesize { get; }
546 public uint height { get; }
548 public bool is_default { get; }
549 public GData.MediaMedium medium { get; }
550 public string uri { get; }
551 public uint width { get; }
553 [CCode (cheader_filename = "gdata/gdata.h")]
554 public class MediaCredit : GData.Parsable {
555 public unowned string get_credit ();
556 public unowned string get_role ();
557 public unowned string get_scheme ();
558 public string credit { get; }
559 public string role { get; }
560 public string scheme { get; }
562 [CCode (cheader_filename = "gdata/gdata.h")]
563 public class MediaThumbnail : GData.Parsable {
564 public uint get_height ();
565 public int64 get_time ();
566 public unowned string get_uri ();
567 public uint get_width ();
568 public uint height { get; }
569 public int64 time { get; }
570 public string uri { get; }
571 public uint width { get; }
573 [CCode (cheader_filename = "gdata/gdata.h")]
574 public class Parsable : GLib.Object {
575 [CCode (has_construct_function = false)]
576 public Parsable.from_xml (GLib.Type parsable_type, string xml, int length) throws GLib.Error;
578 public virtual void get_namespaces (GLib.HashTable namespaces);
579 public virtual void get_xml ();
581 public virtual bool parse_xml (Xml.Doc doc, Xml.Node node) throws GLib.Error;
583 public virtual bool post_parse_xml (void* user_data) throws GLib.Error;
585 public virtual void pre_get_xml (GLib.StringBuilder xml_string);
587 public virtual bool pre_parse_xml (Xml.Doc doc, Xml.Node root_node) throws GLib.Error;
589 [CCode (cheader_filename = "gdata/gdata.h")]
590 public class PicasaWebAlbum : GData.Entry {
591 [CCode (cname = "gdata_picasaweb_album_get_bytes_used")]
592 public long get_bytes_used ();
593 [CCode (cname = "gdata_picasaweb_album_get_comment_count")]
594 public uint get_comment_count ();
595 [CCode (cname = "gdata_picasaweb_album_get_contents")]
596 public unowned GLib.List get_contents ();
597 [CCode (cname = "gdata_picasaweb_album_get_description")]
598 public unowned string get_description ();
599 [CCode (cname = "gdata_picasaweb_album_get_edited")]
600 public void get_edited (GLib.TimeVal edited);
601 [CCode (cname = "gdata_picasaweb_album_get_location")]
602 public unowned string get_location ();
603 [CCode (cname = "gdata_picasaweb_album_get_name")]
604 public unowned string get_name ();
605 [CCode (cname = "gdata_picasaweb_album_get_nickname")]
606 public unowned string get_nickname ();
607 [CCode (cname = "gdata_picasaweb_album_get_num_photos")]
608 public uint get_num_photos ();
609 [CCode (cname = "gdata_picasaweb_album_get_num_photos_remaining")]
610 public uint get_num_photos_remaining ();
611 [CCode (cname = "gdata_picasaweb_album_get_tags")]
612 public unowned string get_tags ();
613 [CCode (cname = "gdata_picasaweb_album_get_thumbnails")]
614 public unowned GLib.List get_thumbnails ();
615 [CCode (cname = "gdata_picasaweb_album_get_timestamp")]
616 public void get_timestamp (GLib.TimeVal timestamp);
617 [CCode (cname = "gdata_picasaweb_album_get_user")]
618 public unowned string get_user ();
619 [CCode (cname = "gdata_picasaweb_album_get_visibility")]
620 public GData.PicasaWebVisibility get_visibility ();
621 [CCode (cname = "gdata_picasaweb_album_new", has_construct_function = false)]
622 public PicasaWebAlbum (string id);
623 [CCode (cname = "gdata_picasaweb_album_set_description")]
624 public void set_description (string description);
625 [CCode (cname = "gdata_picasaweb_album_set_is_commenting_enabled")]
626 public void set_is_commenting_enabled (bool is_commenting_enabled);
627 [CCode (cname = "gdata_picasaweb_album_set_location")]
628 public void set_location (string location);
629 [CCode (cname = "gdata_picasaweb_album_set_tags")]
630 public void set_tags (string tags);
631 [CCode (cname = "gdata_picasaweb_album_set_timestamp")]
632 public void set_timestamp (GLib.TimeVal timestamp);
633 [CCode (cname = "gdata_picasaweb_album_set_visibility")]
634 public void set_visibility (GData.PicasaWebVisibility visibility);
635 public long bytes_used { get; }
636 public uint comment_count { get; }
637 public string description { get; set; }
638 public GLib.TimeVal edited { get; }
640 public bool is_commenting_enabled { get; set; }
641 public string location { get; set; }
642 public string name { get; }
643 public string nickname { get; }
644 public uint num_photos { get; }
645 public uint num_photos_remaining { get; }
646 public string tags { get; set; }
647 public GLib.TimeVal timestamp { get; set; }
648 public string user { get; }
649 public GData.PicasaWebVisibility visibility { get; set; }
651 [CCode (cheader_filename = "gdata/gdata.h")]
652 public class PicasaWebFile : GData.Entry {
653 [CCode (cname = "gdata_picasaweb_file_get_album_id")]
654 public unowned string get_album_id ();
655 [CCode (cname = "gdata_picasaweb_file_get_caption")]
656 public unowned string get_caption ();
657 [CCode (cname = "gdata_picasaweb_file_get_checksum")]
658 public unowned string get_checksum ();
659 [CCode (cname = "gdata_picasaweb_file_get_client")]
660 public unowned string get_client ();
661 [CCode (cname = "gdata_picasaweb_file_get_comment_count")]
662 public uint get_comment_count ();
663 [CCode (cname = "gdata_picasaweb_file_get_contents")]
664 public unowned GLib.List get_contents ();
665 [CCode (cname = "gdata_picasaweb_file_get_credit")]
666 public unowned string get_credit ();
667 [CCode (cname = "gdata_picasaweb_file_get_edited")]
668 public void get_edited (GLib.TimeVal edited);
669 [CCode (cname = "gdata_picasaweb_file_get_height")]
670 public uint get_height ();
671 [CCode (cname = "gdata_picasaweb_file_get_position")]
672 public double get_position ();
673 [CCode (cname = "gdata_picasaweb_file_get_rotation")]
674 public uint get_rotation ();
675 [CCode (cname = "gdata_picasaweb_file_get_size")]
676 public size_t get_size ();
677 [CCode (cname = "gdata_picasaweb_file_get_tags")]
678 public unowned string get_tags ();
679 [CCode (cname = "gdata_picasaweb_file_get_thumbnails")]
680 public unowned GLib.List get_thumbnails ();
681 [CCode (cname = "gdata_picasaweb_file_get_timestamp")]
682 public void get_timestamp (GLib.TimeVal timestamp);
683 [CCode (cname = "gdata_picasaweb_file_get_version")]
684 public unowned string get_version ();
685 [CCode (cname = "gdata_picasaweb_file_get_video_status")]
686 public unowned string get_video_status ();
687 [CCode (cname = "gdata_picasaweb_file_get_width")]
688 public uint get_width ();
689 [CCode (cname = "gdata_picasaweb_file_new", has_construct_function = false)]
690 public PicasaWebFile (string id);
691 [CCode (cname = "gdata_picasaweb_file_set_album_id")]
692 public void set_album_id (string album_id);
693 [CCode (cname = "gdata_picasaweb_file_set_caption")]
694 public void set_caption (string caption);
695 [CCode (cname = "gdata_picasaweb_file_set_checksum")]
696 public void set_checksum (string checksum);
697 [CCode (cname = "gdata_picasaweb_file_set_client")]
698 public void set_client (string client);
699 [CCode (cname = "gdata_picasaweb_file_set_is_commenting_enabled")]
700 public void set_is_commenting_enabled (bool is_commenting_enabled);
701 [CCode (cname = "gdata_picasaweb_file_set_position")]
702 public void set_position (double position);
703 [CCode (cname = "gdata_picasaweb_file_set_rotation")]
704 public void set_rotation (uint rotation);
705 [CCode (cname = "gdata_picasaweb_file_set_tags")]
706 public void set_tags (string tags);
707 [CCode (cname = "gdata_picasaweb_file_set_timestamp")]
708 public void set_timestamp (GLib.TimeVal timestamp);
709 public string album_id { get; set; }
710 public string caption { get; set; }
711 public string checksum { get; set; }
712 public string client { get; set; }
713 public uint comment_count { get; }
714 public string credit { get; }
715 public GLib.TimeVal edited { get; }
716 public uint height { get; }
718 public bool is_commenting_enabled { get; set; }
719 public double position { get; set; }
720 public uint rotation { get; set; }
721 public ulong size { get; }
722 public string tags { get; set; }
723 public GLib.TimeVal timestamp { get; set; }
724 public string version { get; construct; }
725 public string video_status { get; }
726 public uint width { get; }
728 [CCode (cheader_filename = "gdata/gdata.h")]
729 public class PicasaWebQuery : GData.Query {
730 [CCode (cname = "gdata_picasaweb_query_get_bounding_box")]
731 public void get_bounding_box (double north, double east, double south, double west);
732 [CCode (cname = "gdata_picasaweb_query_get_image_size")]
733 public unowned string get_image_size ();
734 [CCode (cname = "gdata_picasaweb_query_get_location")]
735 public unowned string get_location ();
736 [CCode (cname = "gdata_picasaweb_query_get_tag")]
737 public unowned string get_tag ();
738 [CCode (cname = "gdata_picasaweb_query_get_thumbnail_size")]
739 public unowned string get_thumbnail_size ();
740 [CCode (cname = "gdata_picasaweb_query_get_visibility")]
741 public GData.PicasaWebVisibility get_visibility ();
742 [CCode (cname = "gdata_picasaweb_query_new", has_construct_function = false)]
743 public PicasaWebQuery (string q);
744 [CCode (cname = "gdata_picasaweb_query_set_bounding_box")]
745 public void set_bounding_box (double north, double east, double south, double west);
746 [CCode (cname = "gdata_picasaweb_query_set_image_size")]
747 public void set_image_size (string image_size);
748 [CCode (cname = "gdata_picasaweb_query_set_location")]
749 public void set_location (string location);
750 [CCode (cname = "gdata_picasaweb_query_set_tag")]
751 public void set_tag (string tag);
752 [CCode (cname = "gdata_picasaweb_query_set_thumbnail_size")]
753 public void set_thumbnail_size (string thumbnail_size);
754 [CCode (cname = "gdata_picasaweb_query_set_visibility")]
755 public void set_visibility (GData.PicasaWebVisibility visibility);
756 public string image_size { get; set; }
757 public string location { get; set; }
758 public string tag { get; set; }
759 public string thumbnail_size { get; set; }
760 public int visibility { get; set; }
762 [CCode (cheader_filename = "gdata/gdata.h")]
763 public class PicasaWebService : GData.Service {
764 [CCode (cname = "gdata_picasaweb_service_new", has_construct_function = false)]
765 public PicasaWebService (string client_id);
766 [CCode (cname = "gdata_picasaweb_service_query_all_albums")]
767 public unowned GData.Feed query_all_albums (GData.Query query, string username, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
768 [CCode (cname = "gdata_picasaweb_service_query_all_albums_async")]
769 public void query_all_albums_async (GData.Query query, string username, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data, GLib.AsyncReadyCallback callback);
770 [CCode (cname = "gdata_picasaweb_service_query_files")]
771 public unowned GData.Feed query_files (GData.PicasaWebAlbum album, GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
772 [CCode (cname = "gdata_picasaweb_service_upload_file")]
773 public unowned GData.PicasaWebFile upload_file (GData.PicasaWebAlbum album, GData.PicasaWebFile file, GLib.File actual_file, GLib.Cancellable cancellable) throws GLib.Error;
775 [CCode (cheader_filename = "gdata/gdata.h")]
776 public class Query : GLib.Object {
777 [CCode (has_construct_function = false)]
778 public Query.for_id (string entry_id);
779 public unowned string get_author ();
780 public unowned string get_categories ();
781 public unowned string get_entry_id ();
782 public unowned string get_etag ();
783 public int get_max_results ();
784 public void get_published_max (GLib.TimeVal published_max);
785 public void get_published_min (GLib.TimeVal published_min);
786 public unowned string get_q ();
787 public virtual void get_query_uri (string feed_uri);
788 public int get_start_index ();
789 public void get_updated_max (GLib.TimeVal updated_max);
790 public void get_updated_min (GLib.TimeVal updated_min);
791 [CCode (has_construct_function = false)]
792 public Query (string q);
793 public void next_page ();
794 public bool previous_page ();
795 public void set_author (string author);
796 public void set_categories (string categories);
797 public void set_entry_id (string entry_id);
798 public void set_etag (string etag);
799 public void set_is_strict (bool is_strict);
800 public void set_max_results (int max_results);
801 public void set_published_max (GLib.TimeVal published_max);
802 public void set_published_min (GLib.TimeVal published_min);
803 public void set_q (string q);
804 public void set_start_index (int start_index);
805 public void set_updated_max (GLib.TimeVal updated_max);
806 public void set_updated_min (GLib.TimeVal updated_min);
807 [CCode (has_construct_function = false)]
808 public Query.with_limits (string q, int start_index, int max_results);
809 public string author { get; set; }
810 public string categories { get; set; }
811 public string entry_id { get; set; }
812 public string etag { get; set; }
814 public bool is_strict { get; set; }
815 public int max_results { get; set; }
816 public GLib.TimeVal published_max { get; set; }
817 public GLib.TimeVal published_min { get; set; }
818 public string q { get; set; }
819 public int start_index { get; set; }
820 public GLib.TimeVal updated_max { get; set; }
821 public GLib.TimeVal updated_min { get; set; }
823 [CCode (cheader_filename = "gdata/gdata.h")]
824 public class Service : GLib.Object {
826 public virtual void append_query_headers (Soup.Message message);
827 public bool authenticate (string username, string password, GLib.Cancellable cancellable) throws GLib.Error;
828 public void authenticate_async (string username, string password, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
829 public bool authenticate_finish (GLib.AsyncResult async_result) throws GLib.Error;
830 public bool delete_entry (GData.Entry entry, GLib.Cancellable cancellable) throws GLib.Error;
831 public void delete_entry_async (GData.Entry entry, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback);
832 public bool delete_entry_finish (GLib.AsyncResult async_result) throws GLib.Error;
833 public static GLib.Quark error_quark ();
834 public unowned string get_client_id ();
835 public unowned string get_password ();
836 public unowned Soup.URI get_proxy_uri ();
837 public unowned string get_username ();
838 public unowned GData.Entry insert_entry (string upload_uri, GData.Entry entry, GLib.Cancellable cancellable) throws GLib.Error;
839 public void insert_entry_async (string upload_uri, GData.Entry entry, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback);
840 public unowned GData.Entry insert_entry_finish (GLib.AsyncResult async_result) throws GLib.Error;
841 public bool is_authenticated ();
843 public virtual bool parse_authentication_response (uint status, string response_body, int length) throws GLib.Error;
845 public virtual void parse_error_response (GData.ServiceError error_type, uint status, string reason_phrase, string response_body, int length) throws GLib.Error;
846 public unowned GData.Feed query (string feed_uri, GData.Query query, GLib.Type entry_type, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
847 public void query_async (string feed_uri, GData.Query query, GLib.Type entry_type, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data, GLib.AsyncReadyCallback callback);
848 public unowned GData.Feed query_finish (GLib.AsyncResult async_result) throws GLib.Error;
849 public void set_proxy_uri (Soup.URI proxy_uri);
850 public unowned GData.Entry update_entry (GData.Entry entry, GLib.Cancellable cancellable) throws GLib.Error;
851 public void update_entry_async (GData.Entry entry, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback);
852 public unowned GData.Entry update_entry_finish (GLib.AsyncResult async_result) throws GLib.Error;
854 public bool authenticated { get; }
855 public string client_id { get; construct; }
856 public string password { get; }
857 public Soup.URI proxy_uri { get; set; }
858 public string username { get; }
859 public virtual signal unowned string captcha_challenge (string p0);
861 [CCode (cheader_filename = "gdata/gdata.h")]
862 public class YouTubeContent : GData.MediaContent {
863 [CCode (cname = "gdata_youtube_content_get_format")]
864 public GData.YouTubeFormat get_format ();
865 public GData.YouTubeFormat format { get; }
867 [CCode (cheader_filename = "gdata/gdata.h")]
868 public class YouTubeCredit : GData.MediaCredit {
869 [CCode (cname = "gdata_youtube_credit_get_entity_type")]
870 public unowned string get_entity_type ();
871 public string entity_type { get; }
873 [CCode (cheader_filename = "gdata/gdata.h")]
874 public class YouTubeQuery : GData.Query {
875 [CCode (cname = "gdata_youtube_query_get_age")]
876 public GData.YouTubeAge get_age ();
877 [CCode (cname = "gdata_youtube_query_get_format")]
878 public GData.YouTubeFormat get_format ();
879 [CCode (cname = "gdata_youtube_query_get_language")]
880 public unowned string get_language ();
881 [CCode (cname = "gdata_youtube_query_get_location")]
882 public void get_location (double latitude, double longitude, double radius, bool has_location);
883 [CCode (cname = "gdata_youtube_query_get_order_by")]
884 public unowned string get_order_by ();
885 [CCode (cname = "gdata_youtube_query_get_restriction")]
886 public unowned string get_restriction ();
887 [CCode (cname = "gdata_youtube_query_get_safe_search")]
888 public GData.YouTubeSafeSearch get_safe_search ();
889 [CCode (cname = "gdata_youtube_query_get_sort_order")]
890 public GData.YouTubeSortOrder get_sort_order ();
891 [CCode (cname = "gdata_youtube_query_get_uploader")]
892 public GData.YouTubeUploader get_uploader ();
893 [CCode (cname = "gdata_youtube_query_new", has_construct_function = false)]
894 public YouTubeQuery (string q);
895 [CCode (cname = "gdata_youtube_query_set_age")]
896 public void set_age (GData.YouTubeAge age);
897 [CCode (cname = "gdata_youtube_query_set_format")]
898 public void set_format (GData.YouTubeFormat format);
899 [CCode (cname = "gdata_youtube_query_set_language")]
900 public void set_language (string language);
901 [CCode (cname = "gdata_youtube_query_set_location")]
902 public void set_location (double latitude, double longitude, double radius, bool has_location);
903 [CCode (cname = "gdata_youtube_query_set_order_by")]
904 public void set_order_by (string order_by);
905 [CCode (cname = "gdata_youtube_query_set_restriction")]
906 public void set_restriction (string restriction);
907 [CCode (cname = "gdata_youtube_query_set_safe_search")]
908 public void set_safe_search (GData.YouTubeSafeSearch safe_search);
909 [CCode (cname = "gdata_youtube_query_set_sort_order")]
910 public void set_sort_order (GData.YouTubeSortOrder sort_order);
911 [CCode (cname = "gdata_youtube_query_set_uploader")]
912 public void set_uploader (GData.YouTubeUploader uploader);
913 public GData.YouTubeAge age { get; set; }
914 public GData.YouTubeFormat format { get; set; }
916 public bool has_location { get; set; }
917 public string language { get; set; }
919 public double latitude { get; set; }
921 public double location_radius { get; set; }
923 public double longitude { get; set; }
924 public string order_by { get; set; }
925 public string restriction { get; set; }
926 public GData.YouTubeSafeSearch safe_search { get; set; }
927 public GData.YouTubeSortOrder sort_order { get; set; }
928 public GData.YouTubeUploader uploader { get; set; }
930 [CCode (cheader_filename = "gdata/gdata.h")]
931 public class YouTubeService : GData.Service {
932 [CCode (cname = "gdata_youtube_service_error_quark")]
933 public static GLib.Quark error_quark ();
934 [CCode (cname = "gdata_youtube_service_get_developer_key")]
935 public unowned string get_developer_key ();
936 [CCode (cname = "gdata_youtube_service_get_youtube_user")]
937 public unowned string get_youtube_user ();
938 [CCode (cname = "gdata_youtube_service_new", has_construct_function = false)]
939 public YouTubeService (string developer_key, string client_id);
940 [CCode (cname = "gdata_youtube_service_query_related")]
941 public unowned GData.Feed query_related (GData.YouTubeVideo video, GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
942 [CCode (cname = "gdata_youtube_service_query_related_async")]
943 public void query_related_async (GData.YouTubeVideo video, GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data, GLib.AsyncReadyCallback callback);
944 [CCode (cname = "gdata_youtube_service_query_single_video")]
945 public unowned GData.YouTubeVideo query_single_video (GData.Query query, string video_id, GLib.Cancellable cancellable) throws GLib.Error;
946 [CCode (cname = "gdata_youtube_service_query_single_video_async")]
947 public void query_single_video_async (GData.Query query, string video_id, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback);
948 [CCode (cname = "gdata_youtube_service_query_single_video_finish")]
949 public unowned GData.YouTubeVideo query_single_video_finish (GLib.AsyncResult async_result) throws GLib.Error;
950 [CCode (cname = "gdata_youtube_service_query_standard_feed")]
951 public unowned GData.Feed query_standard_feed (GData.YouTubeStandardFeedType feed_type, GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
952 [CCode (cname = "gdata_youtube_service_query_standard_feed_async")]
953 public void query_standard_feed_async (GData.YouTubeStandardFeedType feed_type, GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback, GLib.AsyncReadyCallback callback);
954 [CCode (cname = "gdata_youtube_service_query_videos")]
955 public unowned GData.Feed query_videos (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
956 [CCode (cname = "gdata_youtube_service_query_videos_async")]
957 public void query_videos_async (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data, GLib.AsyncReadyCallback callback);
958 [CCode (cname = "gdata_youtube_service_upload_video")]
959 public unowned GData.YouTubeVideo upload_video (GData.YouTubeVideo video, GLib.File video_file, GLib.Cancellable cancellable) throws GLib.Error;
960 public string developer_key { get; construct; }
961 public string youtube_user { get; }
963 [CCode (cheader_filename = "gdata/gdata.h")]
964 public class YouTubeState : GData.Parsable {
965 [CCode (cname = "gdata_youtube_state_get_help_uri")]
966 public unowned string get_help_uri ();
967 [CCode (cname = "gdata_youtube_state_get_message")]
968 public unowned string get_message ();
969 [CCode (cname = "gdata_youtube_state_get_name")]
970 public unowned string get_name ();
971 [CCode (cname = "gdata_youtube_state_get_reason_code")]
972 public unowned string get_reason_code ();
973 public string help_uri { get; }
974 public string message { get; }
975 public string name { get; }
976 public string reason_code { get; }
978 [CCode (type_check_function = "GDATA_IS_YOUTUBE_VIDEO", cheader_filename = "gdata/gdata.h")]
979 public class YouTubeVideo : GData.Entry {
980 [CCode (cname = "gdata_youtube_video_get_aspect_ratio")]
981 public GData.YouTubeAspectRatio get_aspect_ratio ();
982 [CCode (cname = "gdata_youtube_video_get_category")]
983 public unowned GData.MediaCategory get_category ();
984 [CCode (cname = "gdata_youtube_video_get_credit")]
985 public unowned GData.YouTubeCredit get_credit ();
986 [CCode (cname = "gdata_youtube_video_get_description")]
987 public unowned string get_description ();
988 [CCode (cname = "gdata_youtube_video_get_duration")]
989 public uint get_duration ();
990 [CCode (cname = "gdata_youtube_video_get_favorite_count")]
991 public uint get_favorite_count ();
992 [CCode (cname = "gdata_youtube_video_get_keywords")]
993 public unowned string get_keywords ();
994 [CCode (cname = "gdata_youtube_video_get_location")]
995 public unowned string get_location ();
996 [CCode (cname = "gdata_youtube_video_get_no_embed")]
997 public bool get_no_embed ();
998 [CCode (cname = "gdata_youtube_video_get_player_uri")]
999 public unowned string get_player_uri ();
1000 [CCode (cname = "gdata_youtube_video_get_rating")]
1001 public void get_rating (uint min, uint max, uint count, double average);
1002 [CCode (cname = "gdata_youtube_video_get_recorded")]
1003 public void get_recorded (GLib.TimeVal recorded);
1004 [CCode (cname = "gdata_youtube_video_get_state")]
1005 public unowned GData.YouTubeState get_state ();
1006 [CCode (cname = "gdata_youtube_video_get_thumbnails")]
1007 public unowned GLib.List get_thumbnails ();
1008 [CCode (cname = "gdata_youtube_video_get_title")]
1009 public unowned string get_title ();
1010 [CCode (cname = "gdata_youtube_video_get_uploaded")]
1011 public void get_uploaded (GLib.TimeVal uploaded);
1012 [CCode (cname = "gdata_youtube_video_get_video_id")]
1013 public unowned string get_video_id ();
1014 [CCode (cname = "gdata_youtube_video_get_video_id_from_uri")]
1015 public static unowned string get_video_id_from_uri (string video_uri);
1016 [CCode (cname = "gdata_youtube_video_get_view_count")]
1017 public uint get_view_count ();
1018 [CCode (cname = "gdata_youtube_video_is_restricted_in_country")]
1019 public bool is_restricted_in_country (string country);
1020 [CCode (cname = "gdata_youtube_video_look_up_content")]
1021 public unowned GData.YouTubeContent look_up_content (string type);
1022 [CCode (cname = "gdata_youtube_video_new", has_construct_function = false)]
1023 public YouTubeVideo (string id);
1024 [CCode (cname = "gdata_youtube_video_set_aspect_ratio")]
1025 public void set_aspect_ratio (GData.YouTubeAspectRatio aspect_ratio);
1026 [CCode (cname = "gdata_youtube_video_set_category")]
1027 public void set_category (GData.MediaCategory category);
1028 [CCode (cname = "gdata_youtube_video_set_description")]
1029 public void set_description (string description);
1030 [CCode (cname = "gdata_youtube_video_set_is_draft")]
1031 public void set_is_draft (bool is_draft);
1032 [CCode (cname = "gdata_youtube_video_set_is_private")]
1033 public void set_is_private (bool is_private);
1034 [CCode (cname = "gdata_youtube_video_set_keywords")]
1035 public void set_keywords (string keywords);
1036 [CCode (cname = "gdata_youtube_video_set_location")]
1037 public void set_location (string location);
1038 [CCode (cname = "gdata_youtube_video_set_no_embed")]
1039 public void set_no_embed (bool no_embed);
1040 [CCode (cname = "gdata_youtube_video_set_recorded")]
1041 public void set_recorded (GLib.TimeVal recorded);
1042 [CCode (cname = "gdata_youtube_video_set_title")]
1043 public void set_title (string title);
1044 public GData.YouTubeAspectRatio aspect_ratio { get; set; }
1046 public double average_rating { get; }
1047 public GData.MediaCategory category { get; set; }
1048 public GData.YouTubeCredit credit { get; }
1049 public string description { get; set; }
1050 public uint duration { get; }
1051 public uint favorite_count { get; }
1053 public bool is_draft { get; set; }
1055 public bool is_private { get; set; }
1056 public string keywords { get; set; }
1057 public string location { get; set; }
1059 public uint max_rating { get; }
1061 public uint min_rating { get; }
1062 public bool no_embed { get; set; }
1063 public string player_uri { get; }
1065 public uint rating_count { get; }
1066 public GLib.TimeVal recorded { get; set; }
1067 public GData.YouTubeState state { get; }
1068 public string title { get; set; }
1069 public GLib.TimeVal uploaded { get; }
1070 public string video_id { get; }
1071 public uint view_count { get; }
1073 [CCode (cheader_filename = "gdata/gdata.h")]
1074 public interface AccessHandler : GData.Entry {
1075 public bool delete_rule (GData.Service service, GData.AccessRule rule, GLib.Cancellable cancellable) throws GLib.Error;
1076 public unowned GData.Feed get_rules (GData.Service service, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
1077 public unowned GData.AccessRule insert_rule (GData.Service service, GData.AccessRule rule, GLib.Cancellable cancellable) throws GLib.Error;
1079 public abstract bool is_owner_rule (GData.AccessRule rule);
1080 public unowned GData.AccessRule update_rule (GData.Service service, GData.AccessRule rule, GLib.Cancellable cancellable) throws GLib.Error;
1082 [CCode (cprefix = "GDATA_AUTHENTICATION_ERROR_", cheader_filename = "gdata/gdata.h")]
1083 public enum AuthenticationError {
1092 [CCode (cprefix = "GDATA_MEDIA_EXPRESSION_", cheader_filename = "gdata/gdata.h")]
1093 public enum MediaExpression {
1098 [CCode (cprefix = "GDATA_MEDIA_", cheader_filename = "gdata/gdata.h")]
1099 public enum MediaMedium {
1107 [CCode (cprefix = "GDATA_PARSER_ERROR_", cheader_filename = "gdata/gdata.h")]
1108 public enum ParserError {
1112 [CCode (cprefix = "GDATA_PICASAWEB_", cheader_filename = "gdata/gdata.h")]
1113 public enum PicasaWebVisibility {
1117 [CCode (cprefix = "GDATA_SERVICE_ERROR_", cheader_filename = "gdata/gdata.h")]
1118 public enum ServiceError {
1122 ENTRY_ALREADY_INSERTED,
1124 AUTHENTICATION_REQUIRED,
1131 [CCode (cprefix = "GDATA_YOUTUBE_AGE_", cheader_filename = "gdata/gdata.h")]
1132 public enum YouTubeAge {
1138 [CCode (cprefix = "GDATA_YOUTUBE_ASPECT_RATIO_", cheader_filename = "gdata/gdata.h")]
1139 public enum YouTubeAspectRatio {
1143 [CCode (cprefix = "GDATA_YOUTUBE_FORMAT_", cheader_filename = "gdata/gdata.h")]
1144 public enum YouTubeFormat {
1150 [CCode (cprefix = "GDATA_YOUTUBE_SAFE_SEARCH_", cheader_filename = "gdata/gdata.h")]
1151 public enum YouTubeSafeSearch {
1156 [CCode (cprefix = "GDATA_YOUTUBE_SERVICE_ERROR_", cheader_filename = "gdata/gdata.h")]
1157 public enum YouTubeServiceError {
1159 ENTRY_QUOTA_EXCEEDED
1161 [CCode (cprefix = "GDATA_YOUTUBE_SORT_", cheader_filename = "gdata/gdata.h")]
1162 public enum YouTubeSortOrder {
1167 [CCode (cprefix = "GDATA_YOUTUBE_", cheader_filename = "gdata/gdata.h")]
1168 public enum YouTubeStandardFeedType {
1174 MOST_DISCUSSED_FEED,
1176 MOST_RESPONDED_FEED,
1177 RECENTLY_FEATURED_FEED,
1178 WATCH_ON_MOBILE_FEED
1180 [CCode (cprefix = "GDATA_YOUTUBE_UPLOADER_", cheader_filename = "gdata/gdata.h")]
1181 public enum YouTubeUploader {
1185 [CCode (cheader_filename = "gdata/gdata.h")]
1186 public delegate void QueryProgressCallback (GData.Entry entry, uint entry_key, uint entry_count);
1187 [CCode (cheader_filename = "gdata/gdata.h")]
1188 public const string LINK_ALTERNATE;
1189 [CCode (cheader_filename = "gdata/gdata.h")]
1190 public const string LINK_EDIT;
1191 [CCode (cheader_filename = "gdata/gdata.h")]
1192 public const string LINK_EDIT_MEDIA;
1193 [CCode (cheader_filename = "gdata/gdata.h")]
1194 public const string LINK_ENCLOSURE;
1195 [CCode (cheader_filename = "gdata/gdata.h")]
1196 public const string LINK_RELATED;
1197 [CCode (cheader_filename = "gdata/gdata.h")]
1198 public const string LINK_SELF;
1199 [CCode (cheader_filename = "gdata/gdata.h")]
1200 public const string LINK_VIA;
1201 [CCode (cheader_filename = "gdata/gdata.h")]
1202 public static GLib.Quark authentication_error_quark ();
1203 [CCode (cheader_filename = "gdata/gdata.h")]
1204 public static GLib.Quark parser_error_quark ();