Package-level declarations
Types
Convenience class for requesting a Permission and monitoring AndroidPermissionState
The state of a permission according to the Android System
Convenience class for checking permissions.
Handles changes to AuthorizationStatus
An abstract PermissionManager that ensures events wont be missed
Base type for all permissions builders. Each permission component implements a concrete permissions builder and registers it in PermissionsBuilder.register.
An abstract ColdStateFlowRepo for managing PermissionState
Provides the current ApplePermissionsHelper.AuthorizationStatus of a given permission.
Default implementation of AuthorizationStatusHandler. Maps AuthorizationStatus to a PermissionManager.Event and sends this to a channel
Permissions that can be requested by Kaluga Each permission component should declare subclass of Permission
Android context for creating a BasePermissionsBuilder
iOS context for creating a BasePermissionsBuilder. Type-alias for NSBundle
Platform specific context for creating a BasePermissionsBuilder
Context for creating a BasePermissionsBuilder on the JS family (js + wasmJs). The browser exposes no ambient permission context (unlike Android's Context or iOS's NSBundle), so this is empty.
Manager for handling and monitoring a given Permission
Convenience class for scheduling checks to changes in permission state.
Holder class for all the PermissionStateFlowRepo associated with Permission
An AppCompatActivity responsible for requesting a Permission Use PermissionsActivity.Companion.intent for getting an Intent to this activity
Builder for providing the proper BasePermissionsBuilder and PermissionStateRepoBuilder for each Permission
Error when PermissionsBuilder tries to register or access invalid permissions.
A KalugaState of a Permission
A StateRepo/MutableStateFlow of PermissionState
A BasePermissionStateRepo for managing PermissionState
Interface that takes permission and coroutine contexts and creates BasePermissionStateRepo. Each platform registers PermissionStateRepoBuilder in PermissionsBuilder.registerPermissionStateRepoBuilder.
Properties
Default PermissionContext of the system
Default PermissionContext of the system
Default PermissionContext of the system
Default PermissionContext of the system
Functions
Requests a Permission on a Flow of PermissionState
Pauses a PermissionRefreshScheduler while requesting an AuthorizationStatus and calls AuthorizationStatusHandler.status once the request has been completed.