removeSessionCallbacksListener method

  1. @Deprecated('The callback is not actual anymore for Conference session. ' 'Use the `onPublisherLeft` instead of `onDisconnectedFromUser` and `onConnectionClosedForUser` and ' 'use the `onSubscribedOnPublisher` and the `onSubscribedAttached` instead of `onConnectedToUser`. ' 'Will be removed in the next major release.')
  2. @override
dynamic removeSessionCallbacksListener()

Implementation

@Deprecated('The callback is not actual anymore for Conference session. '
    'Use the `onPublisherLeft` instead of `onDisconnectedFromUser` and `onConnectionClosedForUser` and '
    'use the `onSubscribedOnPublisher` and the `onSubscribedAttached` instead of `onConnectedToUser`. '
    'Will be removed in the next major release.')
@override
removeSessionCallbacksListener() {
  _connectionCallback = null;
}