Package zendesk.belvedere
Class MediaIntent
- java.lang.Object
-
- zendesk.belvedere.MediaIntent
-
public class MediaIntent extends java.lang.Object
Model for representing a
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
MediaIntent.CameraIntentBuilder
static class
MediaIntent.DocumentIntentBuilder
-
Field Summary
Fields Modifier and Type Field and Description static <any>
CREATOR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
describeContents()
Intent
getIntent()
Get the raw intentjava.lang.String
getPermission()
Permission that has to be granted before callingMediaIntent.open(Activity)
int
getTarget()
Get the target of the intent.boolean
isAvailable()
void
open(Activity activity)
Fire the intent.void
open(Fragment fragment)
Fire the intent.void
writeToParcel(Parcel dest, int flags)
-
-
-
Method Detail
-
open
public void open(Fragment fragment)
Fire the intent.
-
open
public void open(Activity activity)
Fire the intent.
-
getPermission
public java.lang.String getPermission()
Permission that has to be granted before callingMediaIntent.open(Activity)
-
getIntent
public Intent getIntent()
Get the raw intent
-
isAvailable
public boolean isAvailable()
-
getTarget
public int getTarget()
- Returns:
-
describeContents
public int describeContents()
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
-
-