AppInfo.setAsDefaultForType

Sets the application as the default handler for a given type.

interface AppInfo
bool
setAsDefaultForType
()

Parameters

contentType string

the content type.

Return Value

Type: bool

true on success, false on error.