편집

다음을 통해 공유


MPMediaLibrary.AddItem(String, Action<MPMediaEntity[],NSError>) Method

Definition

[Foundation.Export("addItemWithProductID:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddItem (string productID, Action<MediaPlayer.MPMediaEntity[],Foundation.NSError> completionHandler);
abstract member AddItem : string * Action<MediaPlayer.MPMediaEntity[], Foundation.NSError> -> unit
override this.AddItem : string * Action<MediaPlayer.MPMediaEntity[], Foundation.NSError> -> unit

Parameters

productID
String
completionHandler
Action<MPMediaEntity[],NSError>

To be added.

This parameter can be null.

Attributes

Applies to