OnPlayStateChangedType typedef

OnPlayStateChangedType = void Function(String musicId, PlayState playState, KTVPlayerErrorCode errorCode)

musicId:音乐 ID。

playState:音乐播放状态。

errorCode:音乐播放错误码。

Implementation

typedef OnPlayStateChangedType = void Function(
    String musicId, PlayState playState, KTVPlayerErrorCode errorCode);