setPlayEnable method

Future<void> setPlayEnable(
  1. bool enable
)

设置播放是否可用

Implementation

Future<void> setPlayEnable(bool enable) async {
  return await AudioPlayerPlatform.instance.setPlayEnable(enable);
}