Share via


IMPPlayableContentDelegate Interface

Definition

Delegate object providing methods for external media players to send playback commands to the app.

[Foundation.Protocol(Name="MPPlayableContentDelegate", WrapperType=typeof(MediaPlayer.MPPlayableContentDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitiatePlaybackOfContentItem", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V0) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(Foundation.NSIndexPath), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initiatePlaybackOfContentItemAtIndexPath:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ContextUpdated", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(MediaPlayer.MPPlayableContentManagerContext) }, Selector="playableContentManager:didUpdateContext:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitializePlaybackQueue", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V0) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initializePlaybackQueueWithCompletionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitializePlaybackQueue", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V0) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(MediaPlayer.MPContentItem[]), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initializePlaybackQueueWithContentItems:completionHandler:")]
public interface IMPPlayableContentDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="MPPlayableContentDelegate", WrapperType=typeof(MediaPlayer.MPPlayableContentDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ContextUpdated", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(MediaPlayer.MPPlayableContentManagerContext) }, Selector="playableContentManager:didUpdateContext:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitiatePlaybackOfContentItem", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V20) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(Foundation.NSIndexPath), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initiatePlaybackOfContentItemAtIndexPath:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitializePlaybackQueue", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V20) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initializePlaybackQueueWithCompletionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitializePlaybackQueue", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V20) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(MediaPlayer.MPContentItem[]), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initializePlaybackQueueWithContentItems:completionHandler:")]
public interface IMPPlayableContentDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="MPPlayableContentDelegate", WrapperType=typeof(MediaPlayer.MPPlayableContentDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitiatePlaybackOfContentItem", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V0) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(Foundation.NSIndexPath), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initiatePlaybackOfContentItemAtIndexPath:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ContextUpdated", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(MediaPlayer.MPPlayableContentManagerContext) }, Selector="playableContentManager:didUpdateContext:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitializePlaybackQueue", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V0) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initializePlaybackQueueWithCompletionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitializePlaybackQueue", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V0) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(MediaPlayer.MPContentItem[]), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initializePlaybackQueueWithContentItems:completionHandler:")>]
type IMPPlayableContentDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="MPPlayableContentDelegate", WrapperType=typeof(MediaPlayer.MPPlayableContentDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ContextUpdated", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(MediaPlayer.MPPlayableContentManagerContext) }, Selector="playableContentManager:didUpdateContext:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitiatePlaybackOfContentItem", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V20) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(Foundation.NSIndexPath), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initiatePlaybackOfContentItemAtIndexPath:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitializePlaybackQueue", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V20) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initializePlaybackQueueWithCompletionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InitializePlaybackQueue", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V20) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(MediaPlayer.MPPlayableContentManager), typeof(MediaPlayer.MPContentItem[]), typeof(System.Action<Foundation.NSError>) }, Selector="playableContentManager:initializePlaybackQueueWithContentItems:completionHandler:")>]
type IMPPlayableContentDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
ContextUpdated(MPPlayableContentManager, MPPlayableContentManagerContext)

Method that is called after the context changes.

InitializePlaybackQueue(MPPlayableContentManager, Action<NSError>)

Developers should not use this deprecated method. Developers should use 'InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>)' instead.

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

Method that is called to request item playback.

Extension Methods

Name Description
ContextUpdated(IMPPlayableContentDelegate, MPPlayableContentManager, MPPlayableContentManagerContext)

Method that is called after the context changes.

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

Developers should not use this deprecated method. Developers should use 'InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>)' instead.

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

Method that is called to request item playback.

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also