Resource Base
Table of contents

PermissionUtil

The PermissionUtil class handles the camera permissions on Android devices. It provides static methods for requesting camera permissions specifically on Android devices.

For iOS, the camera permissions are granted via the Info.plist or the Info settings of the project.

Definition

Assembly: dynamsoft_capture_vision_flutter

class PermissionUtil

Methods

requestCameraPermission

Requests camera permission from the Android user. On other platforms (iOS), this method does nothing and returns immediately.

static Future<void> requestCameraPermission();

This page is compatible for: