Keiwando.NFSO

class

SupportedFileType

public class SupportedFileType 

Summary

Represents a file type that can be opened by the application.

Remarks

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.

Properties

public static readonly SupportedFileType Any

The SupportedFileType preset that matches files of all types.

public static readonly SupportedFileType PlainText

The SupportedFileType preset that matches plain text files with a .txt extension.

public static readonly SupportedFileType XML

The SupportedFileType preset that matches XML files with a .xml extension.

public static readonly SupportedFileType JPEG

The SupportedFileType preset that matches JPEG image files with either a .jpg or .jpeg file extension.

public static readonly SupportedFileType PNG

The SupportedFileType preset that matches PNG image files with a .png file extension.

public static readonly SupportedFileType MP4

The SupportedFileType preset that matches MP4 video files with a .mp4 extension.

public static readonly SupportedFileType MP3

The SupportedFileType preset that matches mp3 audio files with a .mp3 extension.

public static readonly SupportedFileType PDF

The SupportedFileType preset that matches PDF files with a .pdf file extension.

public static readonly SupportedFileType GIF

The SupportedFileType preset that matches GIF files with a .gif file extension.

public string Name

The title of this file type.

public string Extension

The extension(s) of this file type. Separate multiple extensions with a pipe (|).

public bool Owner

Specifies whether this application is the primary creator of this file type.

public string AppleUTI

The Uniform Type Identifier used for file association on iOS. Separate multiple UTIs with a pipe (|).

public string AppleConformsToUTI

Set this value if you are declaring a custom file type that conforms to an existing UTI. Separate multiple UTIs with a pipe (|).

public string MimeType

The MIME type of the file.