setAsDefaultForExtension

open fun setAsDefaultForExtension(extension: String): <Error class: unknown class><Boolean>

Sets the application as the default handler for the given file extension.

Return

TRUE on success, FALSE on error.

Parameters

extension

a string containing the file extension (without the dot).