XCameraCreateResult constructor

const XCameraCreateResult({
  1. required int handle,
  2. required int textureId,
  3. required Size previewSize,
  4. int previewRotationQuarterTurns = 0,
})

Binds the native session handle to the preview it serves.

Implementation

const XCameraCreateResult({
  required this.handle,
  required this.textureId,
  required this.previewSize,
  this.previewRotationQuarterTurns = 0,
});