PermissionResult

sealed interface PermissionResult

The status of the requested permission.

Inheritors

Types

Link copied to clipboard
class Denied(val shouldShowRationale: Boolean) : PermissionsResultRequest.PermissionResult

The app doesn't have access to the requested permission for one of the reasons requested below. The provided shouldShowRationale will be true if the system suggests showing the user an explanation of why the permission is requested before attempting to request again.

Link copied to clipboard

The app has access to the requested permission.