Düzenle

Aracılığıyla paylaş


AVPlayer.Preroll(Single, AVCompletion) Method

Definition

Starts loading media into the playback buffers.

[Foundation.Export("prerollAtRate:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Preroll (float rate, AVFoundation.AVCompletion onComplete);
abstract member Preroll : single * AVFoundation.AVCompletion -> unit
override this.Preroll : single * AVFoundation.AVCompletion -> unit

Parameters

rate
Single

Playback rate.

onComplete
AVCompletion

Method to invoke when loading completes. The loading might fail, so status code passed determines whether it failed loading or not.

Attributes

Applies to