MediaStreamType enum Models

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.

MediaStreamType('CAMERA')
custom → const MediaStreamType

A media stream produced by an external device.

MediaStreamType('CUSTOM')
screenShare → const MediaStreamType

The screen-share media stream.

MediaStreamType('SCREEN_SHARE')

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

encode() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

decode(String? value) MediaStreamType?

Constants

values → const List<MediaStreamType>
A constant List of the values in this enum, in order of their declaration.
[camera, custom, screenShare]