xamarinios
namespace MediaPlayer
{
[Introduced(PlatformName.WatchOS, 5, 0, PlatformArchitecture.All, null)]
[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:")]
[Unavailable(PlatformName.MacOSX, PlatformArchitecture.All, null)]
public interface IMPMediaPlayback : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("play")]
[Preserve(Conditional = true)]
void Play();
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to xamarinios | |
Assembly | Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |