ZegoLiveStreamingAudioVideoEvents class
events about audio-video
Constructors
-
ZegoLiveStreamingAudioVideoEvents({void onCameraStateChanged(bool)?, void onFrontFacingCameraStateChanged(bool)?, void onMicrophoneStateChanged(bool)?, void onAudioOutputChanged(ZegoUIKitAudioRoute)?, Future<
bool> onCameraTurnOnByOthersConfirmation(BuildContext context)?, Future<bool> onMicrophoneTurnOnByOthersConfirmation(BuildContext context)?})
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
-
onCameraTurnOnByOthersConfirmation
↔ (Future<
bool> Function(BuildContext context)?) -
This callback method is called when someone requests to open your camera, typically when the host wants to open your camera.
getter/setter pair
- onFrontFacingCameraStateChanged ↔ (void Function(bool)?)
-
This callback is triggered when front camera state changed
getter/setter pair
- onMicrophoneStateChanged ↔ (void Function(bool)?)
-
This callback is triggered when microphone state changed
getter/setter pair
-
onMicrophoneTurnOnByOthersConfirmation
↔ (Future<
bool> Function(BuildContext context)?) -
This callback method is called when someone requests to open your microphone, typically when the host wants to open your microphone.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited