State

Possible states for a transport.

Entries

Link copied to clipboard

The transport is idle.

Link copied to clipboard

The transport is being advertised.

Link copied to clipboard

The transport is scanning.

Link copied to clipboard

A remote peer has been identified and the connection is being set up.

Link copied to clipboard

The transport is connected to the remote peer.

Link copied to clipboard

The transport was connected at one point but one of the sides closed the connection.

Link copied to clipboard

The connection to the remote peer failed.

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

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.