ByteRTCMediaDeviceState enum
Values
- ByteRTCMediaDeviceStateStarted → const ByteRTCMediaDeviceState
-
@brief On
- ByteRTCMediaDeviceStateStopped → const ByteRTCMediaDeviceState
-
@brief Off
- ByteRTCMediaDeviceStateRuntimeError → const ByteRTCMediaDeviceState
-
@brief Runtime error
For example, when the media device is expected to be working but no data is received. - ByteRTCMediaDeviceStateAdded → const ByteRTCMediaDeviceState
-
@brief Added
Call enumerate-device api to update the device list when you get this notification. - ByteRTCMediaDeviceStateRemoved → const ByteRTCMediaDeviceState
-
@brief Removed
Call enumerate-device api to update the device list when you get this notification. - ByteRTCMediaDeviceStateInterruptionBegan → const ByteRTCMediaDeviceState
-
@brief Phone calls, locking screen or the other Apps interrupted the RTC call. RTC call will resume once the call ends or the other Apps release the media devices.
- ByteRTCMediaDeviceStateInterruptionEnded → const ByteRTCMediaDeviceState
-
@brief RTC call resumed from the interruption caused by the phone calls or the other Apps.
- ByteRTCMediaDeviceListUpdated → const ByteRTCMediaDeviceState
-
@hidden(iOS) @brief Notification of receiving the device list after time-out.
Call enumerate-device api to update the device list when you get this notification.
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<
ByteRTCMediaDeviceState> - A constant List of the values in this enum, in order of their declaration.