Add support for react-native Windows Cpp/WinRT (#1893)

This also deprecates the old react-native windows implementation
This commit is contained in:
Di Da
2020-02-25 06:21:06 -08:00
committed by GitHub
parent 4f07aab8b1
commit a4fec8eb99
34 changed files with 778 additions and 1551 deletions

View File

@@ -0,0 +1,16 @@
namespace ReactNativeVideoCPP {
[default_interface] runtimeclass ReactVideoView : Windows.UI.Xaml.Controls.MediaPlayerElement {
ReactVideoView(Microsoft.ReactNative.IReactContext context);
void Set_UriString(String uri);
void Set_IsLoopingEnabled(Boolean isLoopingEnabled);
void Set_Paused(Boolean isPaused);
void Set_Muted(Boolean isMuted);
void Set_Volume(Double volume);
void Set_Position(Double position);
void Set_Controls(Boolean useControls);
void Set_FullScreen(Boolean fullScreen);
void Set_ProgressUpdateInterval(Int64 interval);
void Set_AutoPlay(Boolean autoPlay);
};
} // namespace ReactNativeVideoCPP