setPlaySpeed abstract method
- 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 default is 1.0. Versions 2.12.0 to 3.15.1: The range is 0.5 ~ 4.0. Versions 3.16.0 and above: The range is 0.3 ~ 4.0.
Implementation
Future<void> setPlaySpeed(double speed);