public class MediaIntent
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Class and Description |
|---|---|
static class |
MediaIntent.CameraIntentBuilder |
static class |
MediaIntent.DocumentIntentBuilder |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<MediaIntent> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
android.content.Intent |
getIntent()
Get the raw intent
|
java.lang.String |
getPermission()
Permission that has to be granted before calling
#open(Activity) |
int |
getTarget()
Get the target of the intent.
|
boolean |
isAvailable() |
void |
open(Fragment fragment)
Fire the intent.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<MediaIntent> CREATOR
public void open(Fragment fragment)
public java.lang.String getPermission()
#open(Activity)public android.content.Intent getIntent()
public boolean isAvailable()
public int getTarget()
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable