PermissionHandler

Common interface for all iOS permission handlers.

Each handler encapsulates the native framework imports and logic for a specific permission group, preventing unused frameworks from being statically linked into apps that don't need them.

See docs/ios/APPLE_FRAMEWORK_LINKING_ISSUE.md for the architectural rationale behind this design.

Inheritors

Functions

Link copied to clipboard
abstract fun checkStatus(): <Error class: unknown class>

Returns the current authorization status for this permission. Must be called on the main thread.

Link copied to clipboard
abstract suspend fun request(): <Error class: unknown class>

Requests authorization from the user. Suspends until the system dialog is dismissed.