ScreenMeetPlugin class Null safety

Constructors

ScreenMeetPlugin()
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
platformVersion Future<String>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

attachConfidentialWidget(String id, RectGetter getter) → void
changeVideoSource() Future<Map>
Changes the source of the video that you are sharing. Either from camera to screen or vice versa
connect(String roomId, String userName) Future<Either<ScreenMeetError, bool>>
Connect to the room. Room id is either 6 digits code or 12 letters full room id. userName is your user name that other participants will see
disconnect() Future<Either<ScreenMeetError, bool>>
emitBounds() → void
getLocalMediaState() Future<Either<ScreenMeetError, MediaState>>
Responds with your local media state (states of your video, audio, screen sharing)
getLocalVideo() Future<Either<ScreenMeetError, LocalVideo>>
Responds with your local video. The return object will contain the flag indicating if video is on and textureId for its rendering or -1
getParticipants() Future<Either<ScreenMeetError, List<Participant>>>
Responds with the list of remote participants on a call
handle(MethodCall call) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setConfidential(String id, double x, double y, double width, double height) → void
Pass the confidential rect to native SDK. This rect will be cut/hidden when sharing video(stream of your screen) with remote participants
setConnectionStateListener({dynamic listener(String)?}) → void
Set the listener for connection state of the SDK. Will be fired when room is connected, disconnected, reconnecting, waiting for host to let inm etc
setLocalMediaStateListener({dynamic listener(MediaState)?}) → void
setLocalVideoListener({dynamic listener(LocalVideo)?}) → void
Set the listener for local video itself. Will be fired when video from the camera of your device is started/stopped
setParticipantsListener({dynamic listener(List<Participant>)?}) → void
shareAudio() Future<Either<ScreenMeetError, bool>>
Start sharing audio from your mic
shareScreen() Future<Map>
Share the screen of your device
shareVideo(String cameraType) Future<Either<ScreenMeetError, bool>>
Start sharing video from your camera [...]
stopAudioSharing() Future<Either<ScreenMeetError, bool>>
Stop sharing your audio
stopVideoSharing() Future<Either<ScreenMeetError, bool>>
Stop sharing your video
toString() String
A string representation of this object. [...]
inherited
unsetConfidential(String id) → void

Operators

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