# State

enum State : Enum<Presence.State>

## Entries

AWAY
Link copied to clipboard
AWAY
BUSY
Link copied to clipboard
BUSY
ONLINE
Link copied to clipboard
ONLINE
OFFLINE
Link copied to clipboard
OFFLINE

## Types

Companion
Link copied to clipboard
object Companion

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<Presence.State>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): Presence.State

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.)

values
Link copied to clipboard
fun values(): Array<Presence.State>

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