Describes a photo for sharing.
Use SharePhoto.Builder to build instances
Perpanjang: | Object |
Penerapan: | ShareModel |
Paket: | 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()
describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
public int describeContents()
describeContents()
public int describeContents()
writeToParcel(Parcel, int)
Flatten this object in to a Parcel.
public void writeToParcel(Parcel dest, int flags)
Parameter | Keterangan |
---|---|
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. |
writeToParcel(Parcel, int)
public void writeToParcel(Parcel out, int flags)
Parameter | Keterangan |
---|---|
out | |
flags |
CREATOR
public static final Creator CREATOR