PermissionCategory enum

Categories for organizing permissions in the interactive menu.

Each category groups related permissions together, making it easier for users to find and select the permissions they need.

Available Categories

Category Description
network Internet, WiFi, foreground services
camera Camera, microphone, flashlight
location Fine/coarse/background location
storage Files, photos, media access
contacts Contacts, calendar, reminders
phone Calls, SMS, voicemail
bluetooth Bluetooth LE, NFC, nearby devices
sensors Biometrics, body sensors, motion
system Notifications, settings, alarms
Inheritance
Available extensions

Values

network → const PermissionCategory

Network & Connectivity permissions (Internet, WiFi, foreground services)

const PermissionCategory('Network & Connectivity')
camera → const PermissionCategory

Camera & Media Capture permissions (Camera, microphone, flashlight)

const PermissionCategory('Camera & Media Capture')
location → const PermissionCategory

Location Services permissions (GPS, background location)

const PermissionCategory('Location Services')
storage → const PermissionCategory

Storage & Files permissions (Photos, videos, documents)

const PermissionCategory('Storage & Files')
contacts → const PermissionCategory

Contacts & Calendar permissions (Contacts, calendar, reminders)

const PermissionCategory('Contacts & Calendar')
phone → const PermissionCategory

Phone & SMS permissions (Calls, SMS, voicemail)

const PermissionCategory('Phone & SMS')
bluetooth → const PermissionCategory

Bluetooth & NFC permissions (BLE, NFC, nearby devices)

const PermissionCategory('Bluetooth & NFC')
sensors → const PermissionCategory

Sensors & Biometrics permissions (Fingerprint, Face ID, motion)

const PermissionCategory('Sensors & Biometrics')
system → const PermissionCategory

System & Notifications permissions (Alerts, settings, alarms)

const PermissionCategory('System & Notifications')

Properties

displayName String
The human-readable name displayed in the interactive menu.
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<PermissionCategory>
A constant List of the values in this enum, in order of their declaration.