MediaStreamType enum

The MediaStreamType enum gathers the possible types of media streams.

Inheritance

Constructors

MediaStreamType(String value)
const

Values

Camera → const MediaStreamType

The camera media stream, either audio, video, or audio and video. This stream type is enabled by default.

const MediaStreamType('CAMERA')
Custom → const MediaStreamType

A media stream produced by an external device.

const MediaStreamType('CUSTOM')
ScreenShare → const MediaStreamType

The screen-share media stream.

const MediaStreamType('SCREEN_SHARE')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

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

Static Methods

valueOf(String? value) MediaStreamType?

Constants

values → const List<MediaStreamType>
A constant List of the values in this enum, in order of their declaration.