PermissionService class abstract

Camera and microphone permissions. Photo library access is part of GallerySource.

Constructors

PermissionService()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkCamera() → Future<PermissionState>
Current camera permission without prompting.
checkMicrophone() → Future<PermissionState>
Current microphone permission without prompting.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openSettings() → Future<bool>
Opens the app's page in the system settings.
requestCamera() → Future<PermissionState>
Prompts for the camera if needed.
requestMicrophone() → Future<PermissionState>
Prompts for the microphone if needed.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited