AdswizzPermissionValue

@objc
public enum AdswizzPermissionValue : Int

Supported types of permission values.

  • Permission is granted.

    Declaration

    Swift

    case granted
  • Permission is denied.

    Declaration

    Swift

    case denied
  • Permission was not asked yet.

    Declaration

    Swift

    case notAsked
  • Permission can’t be asked:

    • either because the usage string is missing in app’s Info.plist
    • or the access to the permission is restricted programmatically (see AdswizzSDK.shared setPermissionStatus(for type:status:)method)
    • or the AdswizzSDKPrivacyDataCore framework and the permission module were not found at runtime

    Declaration

    Swift

    case cantAsk