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
PrepareToPlay() |
Prepares the player to play media items. |
PrepareToPlay(Action<NSError>) |
Puts the first item in the queue into the buffer and runs a handler after the item has been buffered. |
PrepareToPlay()
Prepares the player to play media items.
[Foundation.Export("prepareToPlay")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PrepareToPlay ();
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.Introduced(ObjCRuntime.PlatformName.iOS, 10, 1, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PrepareToPlay (Action<Foundation.NSError> completionHandler);
abstract member PrepareToPlay : Action<Foundation.NSError> -> unit
override this.PrepareToPlay : Action<Foundation.NSError> -> unit
Parameters
- Attributes