AgoraRtcRhythmPlayerConfig Class Reference
Inherits from | NSObject |
---|---|
Declared in | AgoraObjects.h |
Overview
Since v3.4.0. The metronome configuration, which is set in startRhythmPlayer or configRhythmPlayer.
beatsPerMeasure
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.
@property (assign, nonatomic) NSUInteger beatsPerMeasure
Declared In
AgoraObjects.h
beatsPerMinute
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.
@property (assign, nonatomic) NSUInteger beatsPerMinute
Declared In
AgoraObjects.h
publish
Whether to publish the sound of the metronome to remote users:
@property (assign, nonatomic) BOOL publish
Discussion
YES
: (Default) Publish. Both the local user and remote users can hear the metronome.NO
: Do not publish. Only the local user can hear the metronome.
Declared In
AgoraObjects.h