MPMusicPlayerController.PrepareToPlay 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.
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
- Attributes