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

Link copied to clipboard

Camera access. Required for barcode/QR check-in scanning and Fit@Home selfies.

Link copied to clipboard

Approximate (coarse) location. Android only; iOS grants precise/approximate together.

Link copied to clipboard

Precise (fine) foreground location. Required before starting geofence monitoring.

Link copied to clipboard

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.

Link copied to clipboard

Physical-activity / motion recognition, used by step-based SmartWalking features.

Link copied to clipboard

Bluetooth Low Energy, used for beacon-based facility presence detection.

Link copied to clipboard

Permission to post user-facing notifications (Android 13+ / iOS).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.