Result

sealed class Result

Encapsulates the result of an attempt to create a connection.

Since

8.31

Parameters

descriptor
the ConnectionDescriptor describing the connection.
state
an object indicating the state or cause of the result.

Inheritors

Types

Link copied to clipboard
class Failure(val descriptor: ConnectionDescriptor, val state: Any, val message: String?) : SASManager.Result

A Result indicating that the connection could not be created.

Link copied to clipboard
class Success(val descriptor: ConnectionDescriptor, val state: Any, val server: Server) : SASManager.Result

A Result indicating that the connection was successfully created.

Properties

Link copied to clipboard
Link copied to clipboard
val state: Any