AppInfo.setAsDefaultForType

bool setAsDefaultForType(string contentType)

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

Parameters

contentTypethe content type.

Returns

true on success, false on error.

Throws

[ErrorWrap]