主题
FilePickerFileType 继承自: Enum
Defines the file types that can be selected using the FilePicker.
枚举值
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
ANY | — | 'any' | Allows any file type. |
MEDIA | — | 'media' | A combination of VIDEO and IMAGE. |
IMAGE | — | 'image' | Allows only image files. |
VIDEO | — | 'video' | Allows only video files. |
AUDIO | — | 'audio' | Allows only audio files. |
CUSTOM | — | 'custom' | Allows only the custom file types specified in the allowed_extensions list. |