addCallback

fun addCallback(callback: (connected: Boolean) -> Unit)