public interface PickFilesParams
BrowserAgent#onPickFiles.| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
TYPE_OPEN_MULTIPLE_FILES |
Indicates multiple files to open.
|
static int |
TYPE_OPEN_NOT_EXIST |
Indicates a non-existent file to open, and in this case you need to create and save a new one.
|
static int |
TYPE_OPEN_SINGLE_FILE |
Indicates a single file to open.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
String |
getDefaultName() |
Obtains the default file name.
|
String[] |
getMimeTypes() |
Obtains a list of supported MIME types.
|
CharSequence |
getTitle() |
Obtains the file title.
|
int |
getType() |
Obtains the file type, which can be a non-existent file, a single file, or multiple files.
|
boolean |
isLiveMedia() |
Checks whether the to-be-selected file (for example, photos taken with cameras) contains live media content.
|
static final int TYPE_OPEN_MULTIPLE_FILES
static final int TYPE_OPEN_NOT_EXIST
static final int TYPE_OPEN_SINGLE_FILE
String[] getMimeTypes()
String getDefaultName()
int getType()
TYPE_OPEN_SINGLE_FILE, TYPE_OPEN_MULTIPLE_FILES, or
TYPE_OPEN_NOT_EXIST.CharSequence getTitle()
boolean isLiveMedia()
getMimeTypes() to obtain the MIME types suitable for the live media content.true if the file contains live media content; returns false otherwise.