addOnRemoteUserConnectionChangeListener method

void addOnRemoteUserConnectionChangeListener(
  1. OnRemoteUserConnectionChangeListener listener
)

Adds a listener function that will be triggered when the connection of the remote user changes You may want to call closeCall if the remote user is disconnected for a long time

Implementation

void addOnRemoteUserConnectionChangeListener (OnRemoteUserConnectionChangeListener listener) { _onRemoteUserConnectionChangeListeners.add(listener); }