PeerStateKind

State of the peer connection.

Entries

Link copied to clipboard

The peer is known (discovered or explicitly added by the user) but we haven't started establishing a connection to them yet.

Link copied to clipboard

A connection to the peer is being established.

Link copied to clipboard

The peer is connected but the protocol handshake is still in progress.

Link copied to clipboard

The peer connection is active.

Types

Link copied to clipboard
object Companion

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
Link copied to clipboard

Functions

Link copied to clipboard
fun encode(): Byte
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.