Udostępnij za pośrednictwem


PlaybackState.PlaybackSpeed Property

Definition

Get the current playback speed as a multiple of normal playback.

public float PlaybackSpeed { [Android.Runtime.Register("getPlaybackSpeed", "()F", "")] get; }
[<get: Android.Runtime.Register("getPlaybackSpeed", "()F", "")>]
member this.PlaybackSpeed : single

Property Value

The current speed of playback.

Attributes

Remarks

Get the current playback speed as a multiple of normal playback. This should be negative when rewinding. A value of 1 means normal playback and 0 means paused.

Java documentation for android.media.session.PlaybackState.getPlaybackSpeed().

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.

Applies to