Skip to content

Commit

Permalink
feat: Add extensibility support for Windows.Media.Playback.MediaPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Mar 31, 2023
1 parent 51fc6bf commit 50cff71
Show file tree
Hide file tree
Showing 19 changed files with 722 additions and 228 deletions.
23 changes: 23 additions & 0 deletions build/PackageDiffIgnore.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9392,6 +9392,29 @@
<Member fullName="System.Void Windows.Devices.Lights.Lamp..ctor()" reason="Not present in Windows" />
</Methods>
</IgnoreSet>

<IgnoreSet baseVersion="4.8">
<Types>
</Types>

<Events>
</Events>

<Fields>
</Fields>

<Properties>
</Properties>

<Methods>
<!-- BEGIN MediaPlayer updates -->
<Member fullName="System.Void Windows.Media.Playback.MediaPlayerFailedEventArgs..ctor()" reason="Not present in Windows" />
<Member fullName="System.Void Windows.Media.Playback.MediaPlayerRateChangedEventArgs..ctor()" reason="Not present in Windows" />
<Member fullName="System.Void Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs..ctor()" reason="Not present in Windows" />
<Member fullName="System.Void Windows.Media.Playback.MediaPlaybackSession..ctor()" reason="Not present in Windows" />
<!-- END MediaPlayer updates -->
</Methods>
</IgnoreSet>

<!--
Supported nodes (please keep at the bottom of this file):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public partial class MediaPlaybackSession
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public global::System.TimeSpan Position
{
Expand All @@ -35,7 +35,7 @@ public partial class MediaPlaybackSession
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public double PlaybackRate
{
Expand Down Expand Up @@ -63,7 +63,7 @@ public double PlaybackRate
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public double BufferingProgress
{
Expand Down Expand Up @@ -113,7 +113,7 @@ public bool IsProtected
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public global::Windows.Media.Playback.MediaPlayer MediaPlayer
{
Expand All @@ -123,7 +123,7 @@ public bool IsProtected
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public global::System.TimeSpan NaturalDuration
{
Expand Down Expand Up @@ -153,7 +153,7 @@ public uint NaturalVideoWidth
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public global::Windows.Media.Playback.MediaPlaybackState PlaybackState
{
Expand Down Expand Up @@ -303,7 +303,7 @@ public bool IsSupportedPlaybackRateRange( double rate1, double rate2)
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public event global::Windows.Foundation.TypedEventHandler<global::Windows.Media.Playback.MediaPlaybackSession, object> BufferingProgressChanged
{
Expand All @@ -319,7 +319,7 @@ public bool IsSupportedPlaybackRateRange( double rate1, double rate2)
}
}
#endif
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if __ANDROID__ || __IOS__ || NET461 || false || false || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public event global::Windows.Foundation.TypedEventHandler<global::Windows.Media.Playback.MediaPlaybackSession, object> BufferingStarted
{
Expand All @@ -335,7 +335,7 @@ public bool IsSupportedPlaybackRateRange( double rate1, double rate2)
}
}
#endif
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if __ANDROID__ || __IOS__ || NET461 || false || false || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public event global::Windows.Foundation.TypedEventHandler<global::Windows.Media.Playback.MediaPlaybackSession, object> DownloadProgressChanged
{
Expand All @@ -351,7 +351,7 @@ public bool IsSupportedPlaybackRateRange( double rate1, double rate2)
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public event global::Windows.Foundation.TypedEventHandler<global::Windows.Media.Playback.MediaPlaybackSession, object> NaturalDurationChanged
{
Expand Down Expand Up @@ -383,7 +383,7 @@ public bool IsSupportedPlaybackRateRange( double rate1, double rate2)
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public event global::Windows.Foundation.TypedEventHandler<global::Windows.Media.Playback.MediaPlaybackSession, object> PlaybackRateChanged
{
Expand All @@ -399,7 +399,7 @@ public bool IsSupportedPlaybackRateRange( double rate1, double rate2)
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public event global::Windows.Foundation.TypedEventHandler<global::Windows.Media.Playback.MediaPlaybackSession, object> PlaybackStateChanged
{
Expand All @@ -415,7 +415,7 @@ public bool IsSupportedPlaybackRateRange( double rate1, double rate2)
}
}
#endif
#if false || false || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || false
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented("NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
public event global::Windows.Foundation.TypedEventHandler<global::Windows.Media.Playback.MediaPlaybackSession, object> PositionChanged
{
Expand Down
Loading

0 comments on commit 50cff71

Please sign in to comment.