takePicture abstract method

Future<XFile> takePicture(
  1. int handle,
  2. DeviceOrientation snapshotOrientation
)

Take a still photo. snapshotOrientation is applied to the photo connection just before capture so the file's EXIF orientation matches how the user was holding the device.

Implementation

Future<XFile> takePicture(int handle, DeviceOrientation snapshotOrientation);