Used during serialization for the graph request.
拡張: | Object |
実装: | Parcelable |
パッケージ: | facebook |
GraphRequest.ParcelableResourceWithMimeType(Parcelable, String)
The constructor.
public GraphRequest.ParcelableResourceWithMimeType(Parcelable resource, String mimeType)
パラメーター | 説明 |
---|---|
resource | The resource to parcel. |
mimeType | The mime type. |
getMimeType()
public String getMimeType()
getResource()
public Parcelable getResource()
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)
パラメーター | 説明 |
---|---|
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)
パラメーター | 説明 |
---|---|
out | |
flags |
CREATOR
public static final Creator CREATOR