Share via


MPMusicPlayerController.PrepareToPlay Method

Definition

Overloads

Name Description
PrepareToPlay()
PrepareToPlay(Action<NSError>)

Puts the first item in the queue into the buffer and runs a handler after the item has been buffered.

PrepareToPlay()

[Foundation.Export("prepareToPlay")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PrepareToPlay();
[<Foundation.Export("prepareToPlay")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PrepareToPlay : unit -> unit
override this.PrepareToPlay : unit -> unit

Implements

Attributes

Applies to

PrepareToPlay(Action<NSError>)

Puts the first item in the queue into the buffer and runs a handler after the item has been buffered.

[Foundation.Export("prepareToPlayWithCompletionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PrepareToPlay(Action<Foundation.NSError> completionHandler);
[<Foundation.Export("prepareToPlayWithCompletionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PrepareToPlay : Action<Foundation.NSError> -> unit
override this.PrepareToPlay : Action<Foundation.NSError> -> unit

Parameters

completionHandler
Action<NSError>

A handler to run after the first item in the queue is buffered.

Attributes

Applies to