TRTCSpeedTestParams class
Network speed testing parameters
Constructors
- TRTCSpeedTestParams({int sdkAppId = 0, String userId = "", String userSig = "", int expectedUpBandwidth = 0, int expectedDownBandwidth = 0, TRTCSpeedTestScene scene = TRTCSpeedTestScene.delayAndBandwidthTesting})
Properties
- expectedDownBandwidth ↔ int
-
- Field description: Expected downstream bandwidth (kbps, value range: 10 to 5000, no downlink bandwidth test when it is 0).
- Note: When the parameter
scene
is set toTRTCSpeedTestScene_OnlineChorusTesting
, in order to obtain more accurate information such as RTT/jitter, the value range is limited to 10 ~ 1000.getter/setter pair - expectedUpBandwidth ↔ int
-
- Field description: Expected upstream bandwidth (kbps, value range: 10 to 5000, no uplink bandwidth test when it is 0).
- Note: When the parameter
scene
is set toTRTCSpeedTestScene_OnlineChorusTesting
, in order to obtain more accurate information such as RTT/jitter, the value range is limited to 10 ~ 1000.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
- scene ↔ TRTCSpeedTestScene
-
- Field description: Speed test scene.
getter/setter pair - sdkAppId ↔ int
-
- Field description: Application identification, please refer to the relevant instructions in TRTCParams.
getter/setter pair - userId ↔ String
-
- Field description: User identification, please refer to the relevant instructions in TRTCParams.
getter/setter pair - userSig ↔ String
-
- Field description: User signature, please refer to the relevant instructions in TRTCParams.
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