MediaController.TransportControls.SetPlaybackSpeed(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the playback speed.
[Android.Runtime.Register("setPlaybackSpeed", "(F)V", "", ApiSince=29)]
public void SetPlaybackSpeed (float speed);
[<Android.Runtime.Register("setPlaybackSpeed", "(F)V", "", ApiSince=29)>]
member this.SetPlaybackSpeed : single -> unit
Parameters
- speed
- Single
The playback speed
- Attributes
Remarks
Sets the playback speed. A value of 1.0f
is the default playback value, and a negative value indicates reverse playback. 0.0f
is not allowed.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.