MediaDeviceWarning enum

Media device warning

Inheritance

Constructors

MediaDeviceWarning()
const

Values

ok → const MediaDeviceWarning

No warning.

operationDenied → const MediaDeviceWarning

Illegal operation.

Calls the API for internal device when using the external device.

captureSilence → const MediaDeviceWarning

The media device is capturing silent frames.

androidSysSilence → const MediaDeviceWarning

Android-specific silence, system-level silence reporting.

androidSysSilenceDisappear → const MediaDeviceWarning

Android-specific silence disappears.

detectLeakEcho → const MediaDeviceWarning

Echo leakage.

Applies to conference scenario.

captureDetectHowling → const MediaDeviceWarning

Howling detected.

You will receive this callback in the following scenarios:

  • Howling is detected under the room profiles that do not support howling suppression.
  • Detect howling that is not suppressed under the room profiles that support howling suppression.

You can only enable howling suppression when the room profile is Communication, Meeting, or MeetingRoom.
We recommend that you remind your users to adjust the physical distance between two devices or disable all unused devices except the connecting one.

setAudioRouteInvalidScenario → const MediaDeviceWarning

Setting audio route failed because the audio route can not be changed in the current Audio Scenario.

setAudioRouteNotExists → const MediaDeviceWarning

Setting audio route failed because the routing device did not exist.

Applies to Android.

setAudioRouteFailedByPriority → const MediaDeviceWarning

Setting audio route failed because the audio route was occupied by the system process or the other Apps.

setAudioRouteNotVoipMode → const MediaDeviceWarning

Setting audio route failed because the audio route can only be changed in the communication audio mode.

Applies to Android.

setAudioRouteDeviceNotStart → const MediaDeviceWarning

Setting audio route failed because the audio device did not initiate.

setBluetoothModeScenarioUnsupport → const MediaDeviceWarning

For iOS only. The media volume is not set in all scenarios. You cannot change the Bluetooth profile until you set the media volume in all scenarios.

setBluetoothModeUnsupport → const MediaDeviceWarning

For iOS only. You cannot change the Bluetooth profile to HFP.

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<MediaDeviceWarning>
A constant List of the values in this enum, in order of their declaration.