Suggestions

close search

StringeeCallListener class

Represents the event from the StringeeCall.


Constructors


StringeeCallListener({required this.onChangeSignalingState, required this.onChangeMediaState, required this.onReceiveCallInfo, required this.onHandleOnAnotherDevice,required this.onReceiveLocalStream,required this.onReceiveRemoteStream, this.onChangeAudioDevice})

Create a new StringeeCallListener.


Methods


onChangeSignalingState(StringeeCall stringeeCall, StringeeSignalingState signalingState)void

Invoked when the call's signaling state changes.

onChangeMediaState(StringeeCall stringeeCall, StringeeMediaState mediaState)void

Invoked when the call's media state changes.

onReceiveCallInfo(StringeeCall stringeeCall, Map<dynamic, dynamic> callInfo)void

Invoked when receive call info.

onHandleOnAnotherDevice(StringeeCall stringeeCall, StringeeSignalingState signalingState)void

Invoked when an incoming call is handle on another device.

onReceiveLocalStream(StringeeCall stringeeCall)void

Invoked when local stream in video call is ready to play.

onReceiveRemoteStream(StringeeCall stringeeCall)void

Invoked when remote stream in video call is ready to play.

onChangeAudioDevice(StringeeCall stringeeCall, AudioDevice selectedAudioDevice, List<AudioDevice> availableAudioDevices)void

Invoked when the current audio device changes in android.