onRhythmPlayerStateChanged property
void Function(RhythmPlayerStateType state, RhythmPlayerReason reason)?
onRhythmPlayerStateChanged
final
虚拟节拍器状态发生改变回调。
废弃 自 v4.6.0 版本废弃。 虚拟节拍器状态发生改变时,SDK 会触发该回调报告当前的虚拟节拍器状态。在虚拟节拍器出现故障时,该回调可以帮助你了解当前虚拟节拍的状态以及出现故障的原因,方便你排查问题。 该回调仅适用于 Android 和 iOS。
state当前的虚拟节拍器状态,详见 RhythmPlayerStateType 。reason虚拟节拍器发生错误的错误码和错误信息,详见 RhythmPlayerReason 。
Implementation
final void Function(RhythmPlayerStateType state, RhythmPlayerReason reason)?
onRhythmPlayerStateChanged;