capturePhoto method

Future<PhotoData> capturePhoto()

Capture a still photo from the glasses camera. Returns the photo data directly.

Implementation

Future<PhotoData> capturePhoto() async {
  _assertNotDisposed();
  final result = await _methodChannel.invokeMethod<Map>('capturePhoto');
  return PhotoData.fromMap(result!);
}