isLoop method

Future<bool> isLoop()

Is the currently playing video set to loop

当前播放的视频是否循环播放

Implementation

Future<bool> isLoop() async {
  if (_isNeedDisposed) return false;
  await _initPlayer.future;
  BoolMsg boolMsg = await _vodPlayerApi.isLoop(PlayerMsg()..playerId = _playerId);
  return boolMsg.value ?? false;
}