編輯

共用方式為


IMPMediaPlayback Interface

Definition

Interface that, together with the T:MediaPlayer.MPMediaPlayback_Extensions class, comprise the MPMediaPlayback protocol.

[Foundation.Protocol(Name="MPMediaPlayback", WrapperType=typeof(MediaPlayer.MPMediaPlaybackWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IMPMediaPlayback : IDisposable, ObjCRuntime.INativeObject
type IMPMediaPlayback = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

CurrentPlaybackRate
CurrentPlaybackTime
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
IsPreparedToPlay

Methods

BeginSeekingBackward()
BeginSeekingForward()
EndSeeking()
Pause()
Play()
PrepareToPlay()
Stop()

Applies to