RESOURCE - The Parcelable type parameter.public static class GraphRequest.ParcelableResourceWithMimeType<RESOURCE extends android.os.Parcelable>
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<GraphRequest.ParcelableResourceWithMimeType> |
CREATOR |
| Constructor and Description |
|---|
ParcelableResourceWithMimeType(RESOURCE resource,
java.lang.String mimeType)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
java.lang.String |
getMimeType() |
RESOURCE |
getResource() |
void |
writeToParcel(android.os.Parcel out,
int flags) |
public static final android.os.Parcelable.Creator<GraphRequest.ParcelableResourceWithMimeType> CREATOR
public ParcelableResourceWithMimeType(RESOURCE resource, java.lang.String mimeType)
resource - The resource to parcel.mimeType - The mime type.public java.lang.String getMimeType()
public RESOURCE getResource()
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel out,
int flags)
writeToParcel in interface android.os.Parcelable