import './extension/IAgoraRhythmPlayerExtension'; /** * State of the virtual metronome. */ export declare enum RhythmPlayerStateType { /** * 810: The virtual metronome is not started or has been stopped. */ RhythmPlayerStateIdle = 810, /** * 811: Opening the beat audio file. */ RhythmPlayerStateOpening = 811, /** * 812: Decoding the beat audio file. */ RhythmPlayerStateDecoding = 812, /** * 813: Playing the beat audio file. */ RhythmPlayerStatePlaying = 813, /** * 814: Failed to start the virtual metronome. You can troubleshoot the issue using the reported error code errorCode, or try restarting the virtual metronome. */ RhythmPlayerStateFailed = 814 } /** * Virtual metronome error information. */ export declare enum RhythmPlayerReason { /** * 0: The beat audio file plays normally without error. */ RhythmPlayerReasonOk = 0, /** * 1: General error with no specific cause. */ RhythmPlayerReasonFailed = 1, /** * 801: Failed to open the beat audio file. */ RhythmPlayerReasonCanNotOpen = 801, /** * 802: Failed to play the beat audio file. */ RhythmPlayerReasonCanNotPlay = 802, /** * 803: The duration of the beat audio file exceeds the limit. The maximum duration is 1.2 seconds. */ RhythmPlayerReasonFileOverDurationLimit = 803 } /** * Virtual metronome configuration. */ export declare class AgoraRhythmPlayerConfig { /** * Number of beats per measure, range [1,9]. Default is 4, meaning 1 strong beat and 3 weak beats per measure. */ beatsPerMeasure?: number; /** * Tempo (beats per minute), range [60,360]. Default is 60, meaning 60 beats per minute. */ beatsPerMinute?: number; } //# sourceMappingURL=IAgoraRhythmPlayer.d.ts.map