nextStep method

Redirect to the next animation step.

Supported version: 2.0.0 and above

Description: Redirect to the next animation step.

Note: This API takes effect only on animated PPT and H5 files. For other types of files, it has no effect.

Related APIs: preStep

Calling time: Call this API when currentSuperBoardSubView exists.

@return ZegoSuperBoardError

Implementation

Future<ZegoSuperBoardError> nextStep() async {
  var map = await _channel.invokeMethod('nextStep');
  return ZegoSuperBoardError(map['errorCode']);
}