onDisconnect

abstract fun onDisconnect(isPermanent: Boolean, errorMessage: String? = null)(source)

Called by an interface when it has disconnected.