setPlaybackSpeed method

  1. @override
Future<void> setPlaybackSpeed(
  1. int textureId,
  2. double speed
)
override

Sets the playback speed to a speed value indicating the playback rate.

Implementation

@override
Future<void> setPlaybackSpeed(int textureId, double speed) {
  assert(speed > 0);

  return _api.setPlaybackSpeed(PlaybackSpeedMessage(
    textureId: textureId,
    speed: speed,
  ));
}