AVPlayer.Preroll(Single, AVCompletion) 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.
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