setPlaybackRate method

  1. @override
Future<void> setPlaybackRate(
  1. String playerId,
  2. double playbackRate
)
override

Sets the playback rate.

iOS and macOS have limits between 0.5 and 2x Android SDK version should be 23 or higher

Implementation

@override
Future<void> setPlaybackRate(String playerId, double playbackRate) {
  return _call(
    'setPlaybackRate',
    playerId,
    <String, dynamic>{'playbackRate': playbackRate},
  );
}