AVPlayer.PrerollAsync(Single) 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.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<bool> PrerollAsync (float rate);
abstract member PrerollAsync : single -> System.Threading.Tasks.Task<bool>
override this.PrerollAsync : single -> System.Threading.Tasks.Task<bool>
Parameters
- rate
- Single
Playback rate.
Returns
A task that represents the asynchronous Preroll operation. The value of the TResult parameter is a AVCompletion.
- Attributes
Remarks
The PrerollAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.