MediaDeviceState enum

Media device state

Inheritance
Available extensions

Values

started → const MediaDeviceState

Start capturing.

stopped → const MediaDeviceState

Stop capturing.

runtimeError → const MediaDeviceState

The media device is expected to be working but no data is received.

added → const MediaDeviceState

Device is plugged in.

removed → const MediaDeviceState

Device is removed.

interruptionBegan → const MediaDeviceState

Phone calls, locking screen or the other Apps interrupted the RTC call. RTC call will resume once the phone call ends or the other Apps release the media devices.

interruptionEnded → const MediaDeviceState

RTC call resumed from the interruption caused by the phone calls or the other Apps.

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

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

Constants

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