共用方式為


MPPlayableContentDataSource.GetContentItem 方法

定義

[Foundation.Export("contentItemForIdentifier:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GetContentItem (string identifier, Action<MediaPlayer.MPContentItem,Foundation.NSError> completionHandler);
abstract member GetContentItem : string * Action<MediaPlayer.MPContentItem, Foundation.NSError> -> unit
override this.GetContentItem : string * Action<MediaPlayer.MPContentItem, Foundation.NSError> -> unit

參數

identifier
String
completionHandler
Action<MPContentItem,NSError>
屬性

適用於