Поделиться через


MPMediaLibrary.AddItem(String, Action<MPMediaEntity[],NSError>) Метод

Определение

[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

Параметры

productID
String
completionHandler
Action<MPMediaEntity[],NSError>

Будет добавлено.

Этот параметр может иметь значение null.

Атрибуты

Применяется к