net9.0-ios
namespace MediaPlayer
{
[Protocol(Name = "MPMediaPlayback", WrapperType = typeof(MPMediaPlaybackWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "Play", Selector = "play")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "Stop", Selector = "stop")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "Pause", Selector = "pause")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "PrepareToPlay", Selector = "prepareToPlay")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "BeginSeekingForward", Selector = "beginSeekingForward")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "BeginSeekingBackward", Selector = "beginSeekingBackward")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "EndSeeking", Selector = "endSeeking")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "isPreparedToPlay", IsProperty = true, IsRequired = true, IsStatic = false, Name = "IsPreparedToPlay", PropertyType = typeof(bool), Selector = "isPreparedToPlay")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "currentPlaybackTime", IsProperty = true, IsRequired = true, IsStatic = false, Name = "CurrentPlaybackTime", PropertyType = typeof(double), Selector = "currentPlaybackTime", SetterSelector = "setCurrentPlaybackTime:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "currentPlaybackRate", IsProperty = true, IsRequired = true, IsStatic = false, Name = "CurrentPlaybackRate", PropertyType = typeof(float), Selector = "currentPlaybackRate", SetterSelector = "setCurrentPlaybackRate:")]
[SupportedOSPlatform("tvos16.0")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[UnsupportedOSPlatform("macos")]
public interface IMPMediaPlayback : INativeObject, IDisposable
}
Assembly | Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
Help | Documentation |
.NET | 6.0-ios6.0-maccatalyst7.0-ios7.0-maccatalyst7.0-tvos8.0-ios8.0-maccatalyst8.0-tvos9.0-ios9.0-maccatalyst9.0-tvos |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|