ZegoCallAudioVideoEvents class

events about audio-video

Constructors

ZegoCallAudioVideoEvents({void onCameraStateChanged(bool)?, void onFrontFacingCameraStateChanged(bool)?, void onMicrophoneStateChanged(bool)?, void onAudioOutputChanged(ZegoUIKitAudioRoute)?, void onLocalCameraExceptionOccurred(ZegoUIKitDeviceExceptionType?)?, void onLocalMicrophoneExceptionOccurred(ZegoUIKitDeviceExceptionType?)?, void onRemoteCameraExceptionOccurred(ZegoUIKitUser, ZegoUIKitDeviceExceptionType?)?, void onRemoteMicrophoneExceptionOccurred(ZegoUIKitUser, ZegoUIKitDeviceExceptionType?)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onAudioOutputChanged ↔ (void Function(ZegoUIKitAudioRoute)?)
This callback is triggered when audio output device changed
getter/setter pair
onCameraStateChanged ↔ (void Function(bool)?)
This callback is triggered when camera state changed
getter/setter pair
onFrontFacingCameraStateChanged ↔ (void Function(bool)?)
This callback is triggered when front camera state changed
getter/setter pair
onLocalCameraExceptionOccurred ↔ (void Function(ZegoUIKitDeviceExceptionType?)?)
local camera device exceptions
getter/setter pair
onLocalMicrophoneExceptionOccurred ↔ (void Function(ZegoUIKitDeviceExceptionType?)?)
local microphone device exceptions
getter/setter pair
onMicrophoneStateChanged ↔ (void Function(bool)?)
This callback is triggered when microphone state changed
getter/setter pair
onRemoteCameraExceptionOccurred ↔ (void Function(ZegoUIKitUser, ZegoUIKitDeviceExceptionType?)?)
remote camera device exceptions
getter/setter pair
onRemoteMicrophoneExceptionOccurred ↔ (void Function(ZegoUIKitUser, ZegoUIKitDeviceExceptionType?)?)
remote microphone device exceptions
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited