Exemple #1
0
 /**
  * Returns a reference to the registered CameraBridge.
  *
  * @return CameraBridge reference or null if a bridge of this type is not registered.
  */
 public CameraBridge GetCameraBridge()
 {
     if (__cameraBridge == null)
     {
         __cameraBridge = new CameraBridge(null);
     }
     return(__cameraBridge);
 }
Exemple #2
0
 public async Task <CameraPhoto> TakePicture(CameraOptions options) => await CameraBridge.GetPhoto(options);