Permissions enum
Permission constants for android and ios
Constructors
- Permissions()
-
const
Values
- accessMediaLocation → const Permissions
-
Android: Allows an application to access any geographic locations persisted in the user's shared collection.
- activityRecognition → const Permissions
-
When running on Android Q and above: Activity Recognition When running on Android < Q: Nothing iOS: Nothing
- bluetooth → const Permissions
-
iOS 13 and above: The authorization state of Core Bluetooth manager. When running < iOS 13 or Android this is always allowed.
- calendar → const Permissions
-
Android: Calendar iOS: Calendar (Events)
- camera → const Permissions
-
Android: Camera iOS: Photos (Camera Roll and Camera)
- contacts → const Permissions
-
Android: Contacts iOS: AddressBook
- ignoreBatteryOptimizations → const Permissions
-
Android: Ignore Battery Optimizations
- location → const Permissions
-
Android: Fine and Coarse Location iOS: CoreLocation (Always and WhenInUse)
- locationAlways → const Permissions
-
Android: When running on Android < Q: Fine and Coarse Location When running on Android Q and above: Background Location Permission iOS: CoreLocation - Always
- locationWhenInUse → const Permissions
-
Android: Fine and Coarse Location iOS: CoreLocation - WhenInUse
- mediaLibrary → const Permissions
-
Android: None iOS: MPMediaLibrary
- microphone → const Permissions
-
Android: Microphone iOS: Microphone
- notification → const Permissions
-
Android: Notification iOS: Notification
- phone → const Permissions
-
Android: Phone iOS: Nothing
- photos → const Permissions
-
Android: Nothing iOS: Photos iOS 14+ read & write access level
- photosAddOnly → const Permissions
-
Android: Nothing iOS: Photos iOS 14+ read & write access level
- reminders → const Permissions
-
Android: Nothing iOS: Reminders
- sensors → const Permissions
-
Android: Body Sensors iOS: CoreMotion
- sms → const Permissions
-
Android: Sms iOS: Nothing
- speech → const Permissions
-
Android: Microphone iOS: Speech
- storage → const Permissions
-
Android: External Storage iOS: Access to folders like Documents or Downloads. Implicitly granted.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
Permissions> - A constant List of the values in this enum, in order of their declaration.