setPlaySpeed abstract method

Future<void> setPlaySpeed(
  1. double speed
)

Set the speed of play.

Available since: 2.12.0 Description: Set the playback speed of the player. When to call: You should load resource before invoking this function. Restrictions: None. Related APIs: Resources can be loaded through the loadResource function.

  • speed The speed of play. The range is 0.5 ~ 4.0. The default is 1.0.

Implementation

Future<void> setPlaySpeed(double speed);