class
public class SupportedFileType
Represents a file type that can be opened by the application.
Use one of the static presets or create your own instance of this class.
Include instances of this type in the supportedFileTypes
array in order to associate them with this application on iOS and Android.
The SupportedFileType
preset that matches files of all types.
The SupportedFileType
preset that matches plain text files
with a .txt extension.
The SupportedFileType
preset that matches XML files with
a .xml extension.
The SupportedFileType
preset that matches JPEG image
files with either a .jpg or .jpeg file extension.
The SupportedFileType
preset that matches PNG image
files with a .png file extension.
The SupportedFileType
preset that matches MP4 video files
with a .mp4 extension.
The SupportedFileType
preset that matches mp3 audio files
with a .mp3 extension.
The SupportedFileType
preset that matches PDF files
with a .pdf file extension.
The SupportedFileType
preset that matches GIF files
with a .gif file extension.
The title of this file type.
The extension(s) of this file type. Separate multiple extensions with a pipe (|).
Specifies whether this application is the primary creator of this file type.
The Uniform Type Identifier used for file association on iOS. Separate multiple UTIs with a pipe (|).
Set this value if you are declaring a custom file type that conforms to an existing UTI. Separate multiple UTIs with a pipe (|).
The MIME type of the file.