requestPermission static method

Future<UArPermissionState> requestPermission({
  1. bool location = false,
  2. bool microphone = false,
})

Asks for the camera, and optionally location/microphone.

Implementation

static Future<UArPermissionState> requestPermission({bool location = false, bool microphone = false}) => UAr.requestPermission(location: location, microphone: microphone);