PreCallTestResult class

What a finished or stopped pre-call test resolves with — the web SDK's {aborted, testDuration, camera, microphone, networkQuality}.

Properties

aborted → bool
True when the test was stopped before it finished. A stopped test still resolves; its networkQuality is null.
final
camera → PreCallMediaReport?
The camera check, or null for an audio-only test or one stopped before the camera was checked.
final
hashCode → int
The hash code for this object.
no setterinherited
microphone → PreCallMediaReport?
The microphone check, or null when the test was stopped before it.
final
networkQuality → PreCallNetworkQuality?
Uplink and downlink quality, or null when the network phase did not run.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
testDuration → int
Wall time of the whole test, in milliseconds.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
The whole result as a read-only map — nested maps and lists included — for logging or sending to your server. The tested tracks are not in it.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited