/// <summary> /// Returns camera view. Begins initialization. /// </summary> /// <returns></returns> public override FrameworkElement CreateView() { var cameraView = WindowsCameraView.Create(); cameraView.InitializeSource(); return(cameraView.CaptureElement); }
public static void AddView(long tag, WindowsCameraView view) { Views.Add(tag, view); CameraInitialized(view.CaptureElement, true); }