SharePhoto
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

Describes a photo for sharing.

Use SharePhoto.Builder to build instances

확장:Object
구현:ShareModel
패키지:model
인스턴스 메서드
getBitmap()

If the photo is resident in memory, this method supplies the data.

public Bitmap getBitmap()
Returns
<a href='Bitmap'>Bitmap</a> representation of the photo.
getImageUrl()

The URL to the photo.

public Uri getImageUrl()
Returns
<a href='Uri'>Uri</a> that points to a network location or the location of the photo on disk.
getUserGenerated()

Specifies whether the photo represented by this object was generated by the user or by the application.

public boolean getUserGenerated()
Returns
Indication of whether the photo is user-generated.
describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public int describeContents()
Returns
A bitmask indicating the set of special object types marshalled by the Parcelable.
describeContents()
public int describeContents()
writeToParcel(Parcel, int)

Flatten this object in to a Parcel.

public void writeToParcel(Parcel dest, int flags)
매개변수설명
destThe Parcel in which the object should be written.
flagsAdditional 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)
매개변수설명
out
flags
상수
CREATOR
public static final Creator CREATOR