setSessionCallbacksListener method
- @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
dynamic
setSessionCallbacksListener(
- RTCSessionStateCallback<BaseSession<dynamic, PeerConnection>> callback
)
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
setSessionCallbacksListener(RTCSessionStateCallback callback) {
_connectionCallback = callback;
}