ZegoExpressEngineWeb class

A web implementation of the ZegoExpressEngineWeb plugin.

Constructors

ZegoExpressEngineWeb()

Properties

hashCode int
The hash code for this object.
no setterinherited
previewView ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createMediaPlayer() Future<int>
createScreenCaptureSource(int? sourceId, int? sourceType) Future<int>
destroyEngine() Future<void>
destroyMediaPlayer(int index) Future<void>
destroyPlatformView(int viewID) Future<bool>
destroyScreenCaptureSource(int index) Future<void>
enableAEC(bool enable) Future<void>
enableAGC(bool enable) Future<void>
enableANS(bool enable) Future<void>
enableCamera(bool enable, int channel) Future<void>
enableEffectsBeauty(bool enable) Future<void>
getAudioDeviceList(int type) Future<List>
getVersion() Future<String>
Returns a String containing the version of the platform.
getVideoConfig(int? channel) Future<Map>
getVideoDeviceList() Future<List>
handleMethodCall(MethodCall call) Future
Handles method calls over the MethodChannel of this plugin. Note: Check the "federated" architecture for a new way of doing this: https://flutter.dev/go/federated-plugins
isMicrophoneMuted() Future<void>
loginRoom(String roomID, dynamic user, dynamic config) Future<Map>
logoutRoom(String? roomID) Future<Map>
mediaPlayerEnableAux(int index, bool enable) Future<void>
mediaPlayerEnableRepeat(int index, bool enable) Future<void>
mediaPlayerGetTotalDuration(int index) Future<int>
mediaPlayerLoadResource(int index, String path) Future<Map>
mediaPlayerLoadResourceFromMediaData(int index, dynamic mediaData, int startPosition) Future<Map>
mediaPlayerMuteLocal(int index, bool enable) Future<void>
mediaPlayerPause(int index) Future<void>
mediaPlayerResume(int index) Future<void>
mediaPlayerSetPlayerCanvas(int index, Map canvas) Future<void>
mediaPlayerSetPlaySpeed(int index, double speed) Future<void>
mediaPlayerSetVolume(int index, int volume) Future<void>
mediaPlayerStart(int index) Future<void>
mediaPlayerStop(int index) Future<void>
muteMicrophone(bool mute) Future<void>
mutePlayStreamAudio(String streamID, bool mute) Future<void>
mutePlayStreamVideo(String streamID, bool mute) Future<void>
mutePublishStreamAudio(bool mute, int channel) Future<void>
mutePublishStreamVideo(bool mute, int channel) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renewToken(String roomID, String token) Future<void>
sendBarrageMessage(String roomID, String message) Future<Map>
sendBroadcastMessage(String roomID, String message) Future<Map>
sendCustomCommand(String roomID, String message, List toUserList) Future<Map>
sendSEI(dynamic data, int dataLength, int channel) Future<void>
setAudioSource(int source, int? channel) Future<int>
setEffectsBeautyParam(dynamic param) Future<void>
setEngineConfig(dynamic config) Future<void>
setRoomExtraInfo(String roomID, String key, String value) Future<Map>
setRoomMode(int mode) Future<void>
setRoomScenario(int scenario) Future<void>
setSEIConfig(Map config) Future<void>
setStreamExtraInfo(String extraInfo, int channel) Future<Map>
setVideoConfig(dynamic config, int channel) Future<void>
setVideoSource(int source, int? instanceID, int? channel) Future<int>
startCaptureScreen(int index, dynamic config) Future<void>
startMixerTask(Map config) Future<Map>
startPlayingStream(String streamID, dynamic canvas, dynamic config) Future<void>
startPreview(dynamic canvas, int channel) Future<void>
startPublishingStream(String streamID, dynamic config, int? channel) Future<void>
stopCaptureScreen(int index) Future<void>
stopEffectsEnv() Future<void>
stopMixerTask(String taskID) Future<Map>
stopPlayingStream(String streamID) Future<void>
stopPreview(int? channel) Future<void>
stopPublishingStream(int? channel) Future<void>
toString() String
A string representation of this object.
inherited
useAudioDevice(int type, String deviceID) Future<void>
useAudioOutputDevice(String viewID, String deviceID) Future<void>
useFrontCamera(bool enable, int channel) Future<void>
useVideoDevice(String deviceID, int channel) Future<void>

Operators

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

Static Methods

createCompleter() → dynamic
createEngineWithProfile(dynamic profile) Future<void>
formatDeviceList(dynamic list) → dynamic
getPublishChannel(int? channel) → dynamic
presetLogConfig(dynamic config) Future<void>
registerWith(Registrar registrar) → void