FileHandler

@Serializable
data class FileHandler(val action: String, val name: String, val icons: List<ImageResource>? = null, val accepts: List<FileFilter>? = null, val launchType: String)

(undocumented in the protocol definition)

Official doc

Constructors

Link copied to clipboard
constructor(action: String, name: String, icons: List<ImageResource>? = null, accepts: List<FileFilter>? = null, launchType: String)

Properties

Link copied to clipboard
val accepts: List<FileFilter>? = null

Mimic a map, name is the key, accepts is the value.

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
val icons: List<ImageResource>? = null

(undocumented in the protocol definition)

Link copied to clipboard

Won't repeat the enums, using string for easy comparison. Same as the other enums below.

Link copied to clipboard

(undocumented in the protocol definition)