PreCallTestException

class PreCallTestException(val code: String, message: String) : Exception

Why a pre-call test, or one device inside it, failed. Thrown by VideoSDK.runPreCallTest, and carried by PreCallMediaReport.error when only one device failed.

Branch on code, never on message — the message is for logs and may change.

Constructors

Link copied to clipboard
constructor(code: String, message: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

a stable string such as "ERROR_PRECALL_INVALID_TOKEN", "ERROR_PRECALL_INVALID_CONFIG", "ERROR_PRECALL_TEST_ALREADY_RUNNING" or "ERROR_CAMERA_IN_USE".

Link copied to clipboard

Always "PreCallTestError", for logs that print an error's name.

Functions

Link copied to clipboard
open override fun toString(): String