MediaDeviceState enum

Inheritance
Available extensions

Values

MEDIA_DEVICE_STATE_STARTED → const MediaDeviceState

@brief Device started capturing

MEDIA_DEVICE_STATE_STOPPED → const MediaDeviceState

@brief Device stopped capturing

MEDIA_DEVICE_STATE_RUNTIMEERROR → const MediaDeviceState

@brief Runtime error
For example, when the media device is expected to be working but no data is received.

MEDIA_DEVICE_STATE_ADDED → const MediaDeviceState

@brief Device is added.

MEDIA_DEVICE_STATE_REMOVED → const MediaDeviceState

@brief Device is removed.

MEDIA_DEVICE_STATE_INTERRUPTION_BEGAN → const MediaDeviceState

@brief A Phone call interrupted the RTC call. RTC call will resume once the call ends.

MEDIA_DEVICE_STATE_INTERRUPTION_ENDED → const MediaDeviceState

@brief RTC call resumed from the interruption caused by a phone call.

Properties

$value → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
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

Constants

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