Skip to main content

FilePickerFileType

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

Inherits: enum.Enum

Properties

  • 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.

Properties

ANYclass-attributeinstance-attribute

Allows any file type.

AUDIOclass-attributeinstance-attribute

Allows only audio files.

CUSTOMclass-attributeinstance-attribute

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

IMAGEclass-attributeinstance-attribute

Allows only image files.

MEDIAclass-attributeinstance-attribute

A combination of VIDEO and IMAGE.

VIDEOclass-attributeinstance-attribute

Allows only video files.