setPreviewSize method

Future<Map<String, dynamic>> setPreviewSize(
  1. int cameraId,
  2. int width,
  3. int height
)

Implementation

Future<Map<String, dynamic>> setPreviewSize(
  int cameraId,
  int width,
  int height,
) async {
  return await UniApi.invokeMethod(this, 'setPreviewSize', {
    'cameraId': cameraId,
    'width': width,
    'height': height,
  });
}