AVPlayer.Rate Property
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.
The current rate of playback.
public virtual float Rate { [Foundation.Export("rate")] get; [Foundation.Export("setRate:")] set; }
member this.Rate : single with get, set
Property Value
- Attributes
Remarks
Setting this value to 1.0f is equivalent to calling the Play() method and setting this value to 0.0f is equivalent to calling the Pause() method.
Some AVAssets can support reverse-playback via negative rates (see CanPlayReverse).