initializeCamera method
Future<void>
initializeCamera(
- int cameraId, {
- ImageFormatGroup imageFormatGroup = ImageFormatGroup.unknown,
Initializes the camera on the device.
imageFormatGroup
is used to specify the image formatting used.
On Android this defaults to ImageFormat.YUV_420_888 and applies only to the imageStream.
On iOS this defaults to kCVPixelFormatType_32BGRA.
On Web this parameter is currently not supported.
Implementation
Future<void> initializeCamera(
int cameraId, {
ImageFormatGroup imageFormatGroup = ImageFormatGroup.unknown,
}) {
throw UnimplementedError('initializeCamera() is not implemented.');
}