takeSnapshot method

  1. @override
Future<PhotoResult> takeSnapshot(
  1. int textureId
)
override

Captures the current preview frame as a fast JPEG snapshot (no full still-capture round-trip).

Implementation

@override
Future<PhotoResult> takeSnapshot(int textureId) =>
    throw UnimplementedError('NitroCamera.takeSnapshot');