DataStreamConfig class Null safety
数据流设置。
下表展示了 syncWithAudio 参数和 ordered 参数的关系:
syncWithAudio | ordered | SDK 行为 |
---|---|---|
false | false | 接收端接收到数据包后,SDK 立刻触发 streamMessage 回调。 |
true | false |
|
false | true |
|
true | true |
|
- Annotations
- @JsonSerializable(explicitToJson: true)
Constructors
- DataStreamConfig(bool syncWithAudio, bool ordered)
- Constructs a DataStreamConfig
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited