共用方式為


MPMediaItem.GetPersistentIDProperty(MPMediaGrouping) 方法

定義

傳回指定之群組類型的永續性識別碼。

[Foundation.Export("persistentIDPropertyForGroupingType:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static string GetPersistentIDProperty (MediaPlayer.MPMediaGrouping groupingType);
static member GetPersistentIDProperty : MediaPlayer.MPMediaGrouping -> string

參數

groupingType
MPMediaGrouping

群組類型。

傳回

屬性

適用於