RhythmPlayerConfig class
节拍器配置。在 RtcEngine.startRhythmPlayer 或 RtcEngine.configRhythmPlayer 中设置。
- Annotations
- @JsonSerializable(explicitToJson: true)
Constructors
- RhythmPlayerConfig({int beatsPerMeasure, int beatsPerMinute, bool publish})
- Constructs a RhythmPlayerConfig
Properties
- beatsPerMeasure ↔ int
-
每小节的拍数,取值范围为
1,9
。默认值为 4,即每小节包含 1 个强拍和 3 个弱拍。@JsonKey(includeIfNull: false), read / write - beatsPerMinute ↔ int
-
节拍速度(拍/分钟),取值范围为
60,360
。默认值为 60,即 1 分钟有 60 拍。@JsonKey(includeIfNull: false), read / write - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- publish ↔ bool
-
是否将节拍器的声音发布至远端: [...]
@JsonKey(includeIfNull: false), read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited