ConnectionStatusListener

Defines a listener for receiving connection status changes.

Defines a listener for receiving connection status changes.

Syntax: typealias ConnectionStatusListener = (status: ConnectionStatus) -> Unit

Parameter

ParameterTypeDescription
statusConnectionStatusThe new connection status.