GraphRequest.ParcelableResourceWithMimeType
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

Used during serialization for the graph request.

Mở rộng:Object
Triển khai:Parcelable
Gói:facebook
Xây dựng
GraphRequest.ParcelableResourceWithMimeType(Parcelable, String)

The constructor.

public GraphRequest.ParcelableResourceWithMimeType(Parcelable resource, String mimeType)
Thông sốMô tả
resourceThe resource to parcel.
mimeTypeThe mime type.
Phương thức thực thể
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()
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)
Thông sốMô tả
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)
Thông sốMô tả
out
flags
Hằng
CREATOR
public static final Creator CREATOR