Package-level declarations
Functions
Checks if the app has the background location permission.
Checks if the application has permission to use Bluetooth.
Checks if the application has permission to access the camera.
Checks if the application has permission to install APK files.
Checks if the app has the required location permissions.
Checks if the application has permission to post notifications.
Checks if the app has notification permission.
Checks if the application has permission to display notifications.
Checks if the app has permission to display notifications on iOS.
Checks if the application has permission to display notifications.
Checks if the application has permission to draw overlays on top of other apps.
Determines whether the app has been granted permission to read contacts.
Checks if the application has permission to read external storage or specific media types.
Checks if the application has permission to record audio.
Checks if the application has permission to write to contacts (WRITE_CONTACTS).
Requests the background location permission. Before requesting ACCESS_BACKGROUND_LOCATION, ensure ACCESS_FINE_LOCATION is already granted, use hasLocationPermission and requestLocationPermission()
Requests Bluetooth permission for the application.
Requests camera permission for the application.
Requests the install permission required to allow the app to install APK files from unknown sources. This method checks if the required permission has already been granted. If granted, the onGranted
callback is invoked. If not, the method triggers a permission request workflow via a dedicated PermissionActivity
, and the appropriate callback (onGranted
or onDenied
) is invoked based on the user's action.
Requests location permissions.
Requests notification permission for the application. On Android 13 (API 33) and above, this method initiates an intent to the system settings screen where the user can grant the notification permission.
Requests notification permission on the platform.
Requests permission to display notifications.
Extended version of the permission request handling the "default" case.
Requests notification permission from the user on iOS.
Requests permission to display notifications.
Extended version of the permission request handling the "default" case.
Requests overlay permission for the application. On Android M (API 23) and above, this method initiates an intent to the system settings screen where the user can grant the overlay permission.
Requests the READ_CONTACTS
permission from the user. If the permission is already granted, the onGranted
callback is invoked. Otherwise, a request for the permission is initiated. Note: Ensure to add the following permission in the app's manifest file:
Requests read external storage permission for the application.
Requests record audio permission for the application.
Requests permission to write to contacts (WRITE_CONTACTS).