SystemPermissionRequestAction

public enum SystemPermissionRequestAction

The type used to describe what to do with the current permission request during an authorisation controller flow. Your PermissionAuthorisationCoordinator passes these values to the completion handler of willRequestPermission(:completion:) to indicate what the controller should do next.

  • Continue and show the system permission request alert

    Declaration

    Swift

    case request
  • Skip this permission - perhaps because the user tapped Not now in your custom onboarding UI

    Declaration

    Swift

    case skip
  • Cancel the entire authorisation flow. didCompletePermissionAuthorisation will be called ont he coordinator.

    Declaration

    Swift

    case cancelAll