public final class

PhotoEntry

extends Entry
java.lang.Object
   ↳ com.cooliris.picasa.Entry
     ↳ com.cooliris.picasa.PhotoEntry

Class Overview

This class models the photo entry kind in the Picasa GData API.

Summary

Fields
public static final EntrySchema SCHEMA
public long albumId The containing album ID.
public int commentCount The number of comments associated with the photo.
public String contentType The MIME type of the content URL.
public String contentUrl The "content" URL for the photo (currently 1280px, or a video).
public long dateEdited The date the photo entry was last edited.
public long datePublished The date the photo was added.
public long dateTaken The date the photo was captured as specified in the EXIF data.
public long dateUpdated The date the photo was last updated.
public int displayIndex The display index of the photo within the album.
public String editUri The "edit" URI of the photo.
public int height The height of the photo in pixels.
public String htmlPageUrl A link to the HTML page associated with the album.
public double latitude The latitude associated with the photo.
public double longitude The longitude associated with the photo.
public int rotation The rotation of the photo in degrees, if rotation has not already been applied.
public String screennailUrl The "screennail" URL for the photo (currently 800px).
public int size The size of the photo is bytes.
public String summary A short summary of the photo.
public String syncAccount The user account that is the sync source for this entry.
public String thumbnailUrl The "mini-thumbnail" URL for the photo (currently 144px-cropped).
public String title The title of the photo.
public int width The width of the photo in pixels.
[Expand]
Inherited Fields
From class com.cooliris.picasa.Entry
Public Constructors
PhotoEntry()
Public Methods
void clear()
Resets values to defaults for object reuse.
void setPropertyFromXml(String uri, String localName, Attributes attrs, String content)
Sets the property value corresponding to the given XML element, if applicable.
[Expand]
Inherited Methods
From class com.cooliris.picasa.Entry
From class java.lang.Object

Fields

public static final EntrySchema SCHEMA

public long albumId

The containing album ID.

public int commentCount

The number of comments associated with the photo.

public String contentType

The MIME type of the content URL.

public String contentUrl

The "content" URL for the photo (currently 1280px, or a video). The original image URL is not fetched since "imgmax" accepts one size, used to get this resource.

public long dateEdited

The date the photo entry was last edited. May be more recent than dateUpdated.

public long datePublished

The date the photo was added.

public long dateTaken

The date the photo was captured as specified in the EXIF data.

public long dateUpdated

The date the photo was last updated.

public int displayIndex

The display index of the photo within the album. Must be set before insert/update.

public String editUri

The "edit" URI of the photo.

public int height

The height of the photo in pixels.

public String htmlPageUrl

A link to the HTML page associated with the album.

public double latitude

The latitude associated with the photo.

public double longitude

The longitude associated with the photo.

public int rotation

The rotation of the photo in degrees, if rotation has not already been applied.

public String screennailUrl

The "screennail" URL for the photo (currently 800px).

public int size

The size of the photo is bytes.

public String summary

A short summary of the photo.

public String syncAccount

The user account that is the sync source for this entry. Must be set before insert/update.

public String thumbnailUrl

The "mini-thumbnail" URL for the photo (currently 144px-cropped).

public String title

The title of the photo.

public int width

The width of the photo in pixels.

Public Constructors

public PhotoEntry ()

Public Methods

public void clear ()

Resets values to defaults for object reuse.

public void setPropertyFromXml (String uri, String localName, Attributes attrs, String content)

Sets the property value corresponding to the given XML element, if applicable.