RSDAuthorizationStatus

@objc
public enum RSDAuthorizationStatus : Int

General-purpose enum for authorization status.

  • Standard mapping of the authorization status.

    Declaration

    Swift

    case authorized
  • Declaration

    Swift

    case notDetermined
  • Declaration

    Swift

    case restricted
  • Declaration

    Swift

    case denied
  • There is a cached value for the authorization status that was previously denied but the user may have since updated the Settings to allow permission.

    Declaration

    Swift

    case previouslyDenied
  • Is the authorization status blocking the activity that requires it? This will return true if the status is restricted, denied, or previously denied.

    Declaration

    Swift

    public func isDenied() -> Bool