CallQualityWarning enum
Call quality warnings raised by the Twilio Voice SDK during an active call.
Warnings are raised when a metric crosses a threshold and cleared when it recovers, so they describe sustained conditions rather than instantaneous samples. Thresholds are defined by the Twilio SDKs, e.g. RTT > 400ms for 3 of the last 5 samples.
Availability differs by platform - see CallQualityWarning.constantAudioOutputLevel.
Values
- highRtt → const CallQualityWarning
-
Round Trip Time is high (Twilio: RTT > 400ms for 3 of the last 5 samples).
- highJitter → const CallQualityWarning
-
Jitter is high (Twilio: jitter > 30ms for 3 of the last 5 samples).
- highPacketLoss → const CallQualityWarning
-
A high fraction of packets is being lost (Twilio: average packet loss > 3% over 7 samples).
- lowMos → const CallQualityWarning
-
Mean Opinion Score is low (Twilio: MOS < 3.5 for 3 of the last 5 samples).
- constantAudioInputLevel → const CallQualityWarning
-
The audio input level has been effectively constant, which usually means the microphone is not picking anything up.
- constantAudioOutputLevel → const CallQualityWarning
-
The audio output level has been effectively constant.
Android only - the iOS and JS (web/macOS) SDKs do not raise this warning.
- unknown → const CallQualityWarning
-
A warning reported by the SDK that this plugin version does not recognise.
Properties
- 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
- wireName → String
-
The wire name used by the plugin's event protocol. Matches the Twilio JS SDK's warning
names, which the native platforms normalise onto.
no setter
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
Static Methods
-
fromName(
String name) → CallQualityWarning - Parses the wire name used by the plugin's event protocol.
-
parseAll(
String csv) → Set< CallQualityWarning> - Parses a comma-separated list of wire names, ignoring empty entries.
Constants
-
values
→ const List<
CallQualityWarning> - A constant List of the values in this enum, in order of their declaration.