RhythmPlayerConfig class
The metronome configuration.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- RhythmPlayerConfig({int? beatsPerMeasure, int? beatsPerMinute, bool? publish})
- Constructs the RhythmPlayerConfig.
Properties
- beatsPerMeasure ↔ int?
-
The number of beats per measure, which ranges from 1 to 9. The default value is 4, which means that each measure contains one downbeat and three upbeats.
getter/setter pair
- beatsPerMinute ↔ int?
-
The beat speed (beats/minute), which ranges from 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: true: (Default) Publish the sound of the metronome. Both the local user and remote users can hear the metronome.
false: Do not publish the sound of the metronome. Only the local user can hear the metronome.
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