PreCallTestException class

Why a pre-call test failed, or why one device check failed — the web SDK's PreCallTestError.

Unlike VideoSDKError the code is a string, the same one every VideoSDK platform reports, e.g. ERROR_PRECALL_INVALID_TOKEN, ERROR_PRECALL_TEST_ALREADY_RUNNING, ERROR_PRECALL_AFTER_INIT, ERROR_CAMERA_IN_USE, ERROR_PRECALL_MEDIA_CHECK_FAILED. Codes and messages come from the native core unchanged.

Implemented types

Constructors

PreCallTestException({required String code, required String message})
Wraps a refusal from the engine, carrying its code and message.
const

Properties

code → String
Stable string code.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
The message paired with code.
final
name → String
Always PreCallTestError, the web error's name.
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
toJson() → Map<String, dynamic>
{code, name, message}.
toString() → String
A string representation of this object.
override

Operators

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