Android SDK Version
  • java.lang.Object
    • com.facebook.GraphRequest.ParcelableResourceWithMimeType<RESOURCE>
Type Parameters:
RESOURCE - The Parcelable type parameter.
Enclosing class:

public static class GraphRequest.ParcelableResourceWithMimeType<RESOURCE extends Parcelable>
extends java.lang.Object
Used during serialization for the graph request.
Field Summary
Modifier and TypeField and Description
static <any>CREATOR 
Constructor Summary
Constructor and Description
ParcelableResourceWithMimeType(RESOURCE resource, java.lang.String mimeType)
The constructor.
Method Summary
Modifier and TypeMethod and Description
intdescribeContents() 
java.lang.StringgetMimeType() 
RESOURCEgetResource() 
voidwriteToParcel(Parcel out, int flags) 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

CREATOR

public static final <any> CREATOR
Constructor Detail

ParcelableResourceWithMimeType

public ParcelableResourceWithMimeType(RESOURCE resource,
                                      java.lang.String mimeType)
The constructor.
Parameters:
resource - The resource to parcel.
mimeType - The mime type.
Method Detail

getMimeType

public java.lang.String getMimeType()

getResource

public RESOURCE getResource()

describeContents

public int describeContents()

writeToParcel

public void writeToParcel(Parcel out,
                          int flags)