presentFullScreen static method

Future<void> presentFullScreen()

Presents the native SocketCam view controller as a full-screen modal (iOS only).

Call CaptureHelperDevice.setTrigger with Trigger.start before invoking this method so the SDK has created the SocketCam view controller.

The SocketCam view controller is automatically dismissed by the SDK when a barcode is decoded.

Implementation

static Future<void> presentFullScreen() async {
  if (!Platform.isIOS) {
    return;
  }
  await _kSocketCamChannel.invokeMethod<void>('presentSocketCamFullScreen');
}