Skip to main content

FilePickerFileType

Defines the file types that can be selected using the FilePicker.

FilePickerFileType enum has the following values:

ANY

Allows any file type.

AUDIO

Allows only audio files.

CUSTOM

Allows only the custom file types specified in the allowed_extensions list.

IMAGE

Allows only image files.

MEDIA

A combination of VIDEO and IMAGE.

VIDEO

Allows only video files.