onCancelled

abstract fun onCancelled(error: DatabaseError)(source)

Called when the listener is cancelled, for example because the client lost read permission.