Android SDK Version
All Implemented Interfaces:
android.os.Parcelable


public final class GraphRequest.ParcelableResourceWithMimeType<RESOURCE extends Parcelable>
 implements Parcelable
Nested Class Summary
Modifier and TypeClassDescription
public classGraphRequest.ParcelableResourceWithMimeType.Companion
Field Summary
Modifier and TypeFieldDescription
private final StringmimeType
private final RESOURCEresource
Constructor Summary
ConstructorDescription
GraphRequest.ParcelableResourceWithMimeType(RESOURCE resource, String mimeType)The constructor.
Method Summary
Modifier and TypeMethodDescription
final StringgetMimeType()
final RESOURCEgetResource()
IntegerdescribeContents()
UnitwriteToParcel(Parcel out, Integer flags)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

GraphRequest.ParcelableResourceWithMimeType

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

getMimeType

 final StringgetMimeType()

getResource

 final RESOURCEgetResource()

describeContents

IntegerdescribeContents()

writeToParcel

UnitwriteToParcel(Parcel out, Integer flags)