Package zendesk.belvedere
Class MediaIntent.DocumentIntentBuilder
- java.lang.Object
-
- zendesk.belvedere.MediaIntent.DocumentIntentBuilder
-
- Enclosing class:
- MediaIntent
public static class MediaIntent.DocumentIntentBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description MediaIntent.DocumentIntentBuilder
allowMultiple(boolean allowMultiple)
Allow to user to select multiple files.MediaIntent
build()
Create theMediaIntent
MediaIntent.DocumentIntentBuilder
contentType(java.lang.String contentType)
Restrict the selection to a content typevoid
open(Activity activity)
Fire the intent.void
open(Fragment fragment)
Fire the intent.
-
-
-
Method Detail
-
build
public MediaIntent build()
Create theMediaIntent
-
contentType
public MediaIntent.DocumentIntentBuilder contentType(java.lang.String contentType)
Restrict the selection to a content type
-
allowMultiple
public MediaIntent.DocumentIntentBuilder allowMultiple(boolean allowMultiple)
Allow to user to select multiple files.
-
open
public void open(Fragment fragment)
Fire the intent.
-
open
public void open(Activity activity)
Fire the intent.
-
-