BoolType

BoolType represents boolean permissions that are displayed as "On"/"Off" or "Enabled"/"Disabled".

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun parseFromMenu(text: String): Boolean

Parse the permission value from the menu text representation.

Link copied to clipboard
open override fun toMenuText(value: Boolean): String

Convert a value to the text representation shown in menus.