Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
UwpCameraStart.cs
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace UwpAppYolo01
{
public sealed partial class MainPage : Page
{
public MainPage()
{
InitializeComponent();
}
protected override async void OnNavigatedTo(NavigationEventArgs e)
{
await CameraPreview.StartAsync();
CameraPreview.CameraHelper.FrameArrived += CameraHelper_FrameArrived;
}
private void CameraHelper_FrameArrived(object sender, Microsoft.Toolkit.Uwp.Helpers.FrameEventArgs e)
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment