RhythmPlayerConfig class

The metronome configuration, which is set in RtcEngine.startRhythmPlayer or RtcEngine.configRhythmPlayer.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

RhythmPlayerConfig({int? beatsPerMeasure, int? beatsPerMinute, bool? publish})
Constructs a RhythmPlayerConfig

Properties

beatsPerMeasure int?
The number of beats per measure. The range is 1 to 9. The default value is 4, which means that each measure contains one downbeat and three upbeats.
getter/setter pair
beatsPerMinute int?
Tempo (beats per minute). The range is 60 to 360. The default value is 60, which means that the metronome plays 60 beats in one minute.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
publish bool?
Whether to publish the sound of the metronome to remote users:
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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