Describes a photo for sharing.
Use SharePhoto.Builder to build instances
Estende: | ShareMedia |
Pacchetto: | model |
getBitmap()
If the photo is resident in memory, this method supplies the data.
public Bitmap getBitmap()
getImageUrl()
The URL to the photo.
public Uri getImageUrl()
getUserGenerated()
Specifies whether the photo represented by this object was generated by the user or by the application.
public boolean getUserGenerated()
getCaption()
Gets the user generated caption. Note that the 'caption' must come from the user, as pre-filled content is forbidden by the Platform Policies (2.3).
public String getCaption()
describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
public int describeContents()
writeToParcel(Parcel, int)
Flatten this object in to a Parcel.
public void writeToParcel(Parcel dest, int flags)
Parametro | Descrizione |
---|---|
dest | The Parcel in which the object should be written. |
flags | Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE. |
CREATOR
public static final Creator CREATOR