getPreviewFormat method

Future<int> getPreviewFormat()

Returns the image format for preview frames got from PreviewCallback.

See: ImageFormat.

Implementation

Future<int> getPreviewFormat() async {
  return await _channel.$getPreviewFormat(this) as int;
}