Captures the next frame as JPEG with quality from 1 to 100.
quality
Future<XFile> capture({required int quality});