Permission
A runtime permission the SDK can check or request on the member's behalf.
Pass a value to AFPermissions.getPermissionStatus(...) or requestPermission(...) instead of platform-specific permission strings — the SDK maps each entry to the correct Android manifest permission or iOS usage prompt and owns the request/result plumbing.
You must still declare the matching entry in your app's AndroidManifest.xml and/or Info.plist (with a usage-description string); the OS will not present a prompt for an undeclared permission.
Platform availability differs — a request for a permission the current platform does not model resolves without prompting.
Entries
Approximate (coarse) location. Android only; iOS grants precise/approximate together.
Precise (fine) foreground location. Required before starting geofence monitoring.
Background ("Always") location, needed for geofence events to fire while the app is backgrounded. On Android 10+ this must be requested separately, after foreground location has already been granted.
Physical-activity / motion recognition, used by step-based SmartWalking features.
Bluetooth Low Energy, used for beacon-based facility presence detection.
Permission to post user-facing notifications (Android 13+ / iOS).
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.