MediaState class

Keeps the information about the state of media features (audio, video, screen sharing)

This media state can be a remote participant's media state or your local media state This class is used for both

Constructors

MediaState(bool _isSharingVideo, bool _isSharingAudio, bool _isSharingScreen)
Default constructor sets all media features
MediaState.stopped()
Factory constructor that just makes new empty instance with all media features (audio, video, screen sharing) marked as stopped
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isSharingAudio bool
Whether audio is being shared
no setter
isSharingScreen bool
Whether screen sharing is on
no setter
isSharingVideo bool
Whether video from camera is being shared
no setter
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