Command

Represents a command which the PGN daemon knows how to interpret and respond to.

Every packet of data sent to the PGN daemon must start with one of these commands.

Parameters

value

The raw byte value which gets sent via the socket to the PGN daemon.

apiVersion

The API version in which the given command was introduced. ie. The PGN daemon must be that version or higher in order to understand the given command.

See also

Entries

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

Properties

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Byte

Functions

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

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.