PicasaWebFile
Object Hierarchy:
Description:
[ CCode ( lower_case_csuffix = "picasaweb_file" , type_id = "gdata_picasaweb_file_get_type ()" ) ]
[ Version ( since = "0.4.0" ) ]
public class PicasaWebFile : Entry, Commentable
[ Version ( since = "0.4.0" ) ]
public class PicasaWebFile : Entry, Commentable
All the fields in the PicasaWebFile structure are private and should never be accessed directly.
Namespace: GData
Package: libgdata
Content:
Properties:
- public string album_id { get; set; }
The ID for the file's album.
- public string caption { get; set; }
The file's descriptive caption.
- public string checksum { get; set; }
A checksum of the file, useful for duplicate detection.
- public uint comment_count { get; }
The number of comments on the file.
- public string credit { get; }
The nickname of the user credited with this file.
- public double distance { get; }
The distance to the subject reported in the image's EXIF.
- public int64 edited { get; }
The time this file was last edited.
- public double exposure { get; }
The exposure time.
- public string file_id { owned get; construct; }
The ID of the file.
- public bool flash { get; }
Indicates whether the flash was used.
- public double focal_length { get; }
The focal length for the shot.
- public double fstop { get; }
The F-stop value.
- public uint height { get; }
The height of the photo or video, in pixels.
- public string image_unique_id { get; }
An unique ID for the image found in the EXIF.
- public bool is_commenting_enabled { get; set; }
Whether commenting is enabled for this file.
- public long iso { get; }
The ISO speed.
- public double latitude { get; set; }
The location as a latitude coordinate associated with this file.
- public double longitude { get; set; }
The location as a longitude coordinate associated with this file.
- public string make { get; }
The name of the manufacturer of the camera.
- public string model { get; }
The model of the camera.
- public uint rotation { get; set; }
The rotation of the photo, in degrees.
- public ulong size { get; }
The size of the file, in bytes.
- public string[] tags { get; set; }
A
null
-terminated array of tags associated with the file. - public int64 timestamp { get; set; }
The time the file was purportedly taken.
- public string version { get; construct; }
The version number of the file.
- public string video_status { get; }
The status of the file, if it is a video.
- public uint width { get; }
The width of the photo or video, in pixels.
Creation methods:
- public PicasaWebFile (string? id)
Creates a new PicasaWebFile with the given ID and default properties.
Methods:
- public unowned string get_album_id ()
Gets the album_id property.
- public unowned string get_caption ()
Gets the caption property.
- public unowned string get_checksum ()
Gets the checksum property.
- public uint get_comment_count ()
Gets the comment_count property.
- public unowned List<MediaContent> get_contents ()
Returns a list of media content, e.g. the actual photo or video.
- public void get_coordinates (out double latitude, out double longitude)
- public unowned string get_credit ()
Gets the credit property.
- public double get_distance ()
Gets the distance property.
- public int64 get_edited ()
Gets the edited property.
- public double get_exposure ()
Gets the exposure property.
- public bool get_flash ()
Gets the flash property.
- public double get_focal_length ()
Gets the focal_length property.
- public double get_fstop ()
Gets the fstop property.
- public uint get_height ()
Gets the height property.
- public unowned string get_id ()
Gets the file_id property.
- public unowned string get_image_unique_id ()
Gets the image_unique_id property.
- public int get_iso ()
Gets the iso property.
- public unowned string get_make ()
Gets the make property.
- public unowned string get_model ()
Gets the model property.
- public uint get_rotation ()
Gets the rotation property.
- public size_t get_size ()
Gets the size property.
- public unowned string[] get_tags ()
Gets the tags property.
- public unowned List<MediaThumbnail> get_thumbnails ()
Returns a list of thumbnails, often at different sizes, for this file.
- public int64 get_timestamp ()
Gets the timestamp property.
- public unowned string get_version ()
Gets the version property.
- public unowned string get_video_status ()
Gets the video_status property.
- public uint get_width ()
Gets the width property.
- public void set_album_id (string album_id)
Sets the album_id property, effectively moving the file to the album.
- public void set_caption (string? caption)
Sets the caption property to
caption
. - public void set_checksum (string? checksum)
Sets the checksum property to
checksum
. - public void set_coordinates (double latitude, double longitude)
- public void set_is_commenting_enabled (bool is_commenting_enabled)
Sets the is_commenting_enabled property to
is_commenting_enabled
. - public void set_rotation (uint rotation)
Sets the rotation property to
rotation
. - public void set_tags (string[]? tags)
Sets the tags property to
tags
. - public void set_timestamp (int64 timestamp)
Sets the timestamp property from
timestamp
.
Inherited Members:
All known members inherited from class GData.Entry
All known members inherited from class GData.Parsable
All known members inherited from class GLib.Object
All known members inherited from interface GData.Commentable