preStep method

Redirect to the previous animation step.

Supported version: 2.0.0 and above

Description: Redirect to the previous 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: nextStep

Calling time: Call this API when currentSuperBoardSubView exists.

@return ZegoSuperBoardError

Implementation

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