public static class MediaIntent.DocumentIntentBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
MediaIntent.DocumentIntentBuilder |
allowMultiple(boolean allowMultiple)
Allow to user to select multiple files.
|
MediaIntent |
build()
Create the
MediaIntent |
MediaIntent.DocumentIntentBuilder |
contentType(java.lang.String contentType)
Restrict the selection to a content type
|
void |
open(Fragment fragment)
Fire the intent.
|
public MediaIntent build()
MediaIntentpublic MediaIntent.DocumentIntentBuilder contentType(java.lang.String contentType)
public MediaIntent.DocumentIntentBuilder allowMultiple(boolean allowMultiple)
public void open(Fragment fragment)