Role

enum Role : Enum<Role>

User role.

Entries

Link copied to clipboard

Room owner.

Link copied to clipboard

Administrator.

Link copied to clipboard

General user.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
fun valueOf(value: String): Role

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Role>

Returns an array containing the constants of this enum type, in the order they're declared.