Package-level declarations
Types
Convenience class for requesting a Permission and monitoring AndroidPermissionState
The state of a permission according to the Android System
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 IOSPermissionsHelper.AuthorizationStatus of a given permission.
Default implementation of AuthorizationStatusHandler. Maps AuthorizationStatus to a PermissionManager.Event and sends this to a channel
Convenience class for checking permissions.
Permissions that can be requested by Kaluga Each permission component should declare subclass of Permission
Android context for creating a BasePermissionsBuilder
Platform specific context for creating a BasePermissionsBuilder
iOS context for creating a BasePermissionsBuilder. Type-alias for NSBundle
JavaScript context for creating a BasePermissionsBuilder
Java context for creating a BasePermissionsBuilder
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.