Esempio n. 1
0
 public override void OnOpened(CameraDevice cameraDevice)
 {
     // This method is called when the camera is opened.  We start camera preview here.
     owner.mCameraOpenCloseLock.Release();
     owner.mCameraDevice = cameraDevice;
     owner.CreateCameraPreviewSession();
 }
Esempio n. 2
0
 public override void OnOpened(CameraDevice cameraDevice)
 {
     // camera preview starts here.
     owner.mCameraOpenCloseLock.Release();
     owner.mCameraDevice = cameraDevice;
     owner.CreateCameraPreviewSession();
 }