Type

enum Type : Enum<Type>

Created by pedro on 21/04/21.

Entries

Link copied to clipboard

Type: 0 The server sends this event to notify the client that a stream has become functional and can be used for communication. By default, this event is sent on ID 0 after the application connect command is successfully received from the client.

Link copied to clipboard

Type: 1 The server sends this event to notify the client that the playback of data is over as requested on this stream. No more data is sent without issuing additional commands. The client discards the messages received for the stream.

Link copied to clipboard

Type: 2 The server sends this event to notify the client that there is no more data on the stream. If the server does not detect any message for a time period, it can notify the subscribed clients that the stream is dry.

Link copied to clipboard

Type: 3 The client sends this event to inform the server of the buffer size (in milliseconds) that is used to buffer any data coming over a stream. This event is sent before the server starts processing the stream.

Link copied to clipboard

Type: 4 The server sends this event to notify the client that the stream is a recorded stream.

Link copied to clipboard

Type: 6 The server sends this event to test whether the client is reachable.

Link copied to clipboard

Type: 7 The client sends this event to the server in response to the ping request.

Link copied to clipboard

Type: 31 (0x1F)

Link copied to clipboard

Type: 32 (0x20)

Properties

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
val mark: Byte
Link copied to clipboard
Link copied to clipboard

Functions

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

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<Type>

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