Membership

@JsonClass(generateAdapter = false)
enum Membership : Enum<Membership>

Represents the membership of a user on a room.

Entries

Link copied to clipboard
Link copied to clipboard
@Json(name = "invite")
INVITE
Link copied to clipboard
@Json(name = "join")
JOIN
Link copied to clipboard
@Json(name = "knock")
KNOCK
Link copied to clipboard
@Json(name = "leave")
LEAVE
Link copied to clipboard
@Json(name = "ban")
BAN

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

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

Properties

Link copied to clipboard
Link copied to clipboard