EchoTestConfiguration class
The configuration of the audio and video call loop test.
@since v4.2.0
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- EchoTestConfiguration({bool? enableAudio, bool? enableVideo, String? token, String? channelId})
- Construct the EchoTestConfiguration
Properties
- channelId ↔ String?
-
The channel name that identifies each audio and video call loop. To ensure proper loop test functionality, the
channel name passed in to identify each loop test cannot be the same when users of the same project (App ID)
perform audio and video call loop tests on different devices.
getter/setter pair
- enableAudio ↔ bool?
-
Whether to enable the audio device for the call loop test:
getter/setter pair
- enableVideo ↔ bool?
-
Whether to enable the video device for the call loop test:
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token ↔ String?
-
The token used to secure the audio and video call loop test. If you do not enable App Certificate in Agora
Console, you do not need to pass a value in this parameter; if you have enabled App Certificate in Agora Console,
you must pass a token in this parameter, the
uid
used when you generate the token must be 0xFFFFFFFF, and the channel name used must be the channel name that identifies each audio and video call loop tested. For server-side token generation, see Authenticate Your Users with Tokens.getter/setter pair
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