Düzenle

Aracılığıyla paylaş


AVPlayer.Rate Property

Definition

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).

Applies to