共用方式為


IMPPlayableContentDelegate 介面

定義

如果通訊協定 MPPlayableContentDelegate 有任何) ,則表示必要方法的介面 (。

[Foundation.Protocol(Name="MPPlayableContentDelegate", WrapperType=typeof(MediaPlayer.MPPlayableContentDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 1, ObjCRuntime.PlatformArchitecture.All, null)]
[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 interface IMPPlayableContentDelegate : IDisposable, ObjCRuntime.INativeObject
type IMPPlayableContentDelegate = interface
    interface INativeObject
    interface IDisposable
衍生
屬性
實作

備註

如果來自 所 MPPlayableContentDelegate 定義的通訊協定有任何) ,這個介面會包含必要方法 (。

如果開發人員建立實作此介面的類別,則實作方法會自動匯出至 Objective-C,其中包含通訊協定中所定義方法的 MPPlayableContentDelegate 相符簽章。

選擇性方法 (如果類別提供 MPPlayableContentDelegate_Extensions 任何) 做為介面的擴充方法,可讓開發人員在通訊協定上叫用任何選擇性方法。

屬性

Handle

處理 unmanaged 物件標記法) (指標。

(繼承來源 INativeObject)

擴充方法

ContextUpdated(IMPPlayableContentDelegate, MPPlayableContentManager, MPPlayableContentManagerContext)

在內容變更之後呼叫的方法。

InitializePlaybackQueue(IMPPlayableContentDelegate, MPPlayableContentManager, MPContentItem[], Action<NSError>)

如果通訊協定 MPPlayableContentDelegate 有任何) ,則表示必要方法的介面 (。

InitializePlaybackQueue(IMPPlayableContentDelegate, MPPlayableContentManager, Action<NSError>)

開發人員不應該使用此已被取代的方法。 開發人員應該改用 'InitializePlaybackQueue (MPPlayableContentManager、MPContentItem[]、Action < NSError >) '。

InitiatePlaybackOfContentItem(IMPPlayableContentDelegate, MPPlayableContentManager, NSIndexPath, Action<NSError>)

呼叫以要求專案播放的方法。

PlayableContentManager(IMPPlayableContentDelegate, MPPlayableContentManager, NSIndexPath, Action<NSError>)
已淘汰.

如果通訊協定 MPPlayableContentDelegate 有任何) ,則表示必要方法的介面 (。

適用於