Class SKErrorCode


  • public final class SKErrorCode
    extends java.lang.Object
    error codes for the SKErrorDomain API-Since: 3.0
    • Field Detail

      • ClientInvalid

        public static final long ClientInvalid
        client is not allowed to issue the request, etc. API-Since: 3.0
        See Also:
        Constant Field Values
      • PaymentCancelled

        public static final long PaymentCancelled
        user cancelled the request, etc. API-Since: 3.0
        See Also:
        Constant Field Values
      • PaymentInvalid

        public static final long PaymentInvalid
        purchase identifier was invalid, etc. API-Since: 3.0
        See Also:
        Constant Field Values
      • PaymentNotAllowed

        public static final long PaymentNotAllowed
        this device is not allowed to make the payment API-Since: 3.0
        See Also:
        Constant Field Values
      • StoreProductNotAvailable

        public static final long StoreProductNotAvailable
        Product is not available in the current storefront API-Since: 3.0
        See Also:
        Constant Field Values
      • CloudServicePermissionDenied

        public static final long CloudServicePermissionDenied
        user has not allowed access to cloud service information API-Since: 9.3
        See Also:
        Constant Field Values
      • CloudServiceNetworkConnectionFailed

        public static final long CloudServiceNetworkConnectionFailed
        the device could not connect to the nework API-Since: 9.3
        See Also:
        Constant Field Values
      • CloudServiceRevoked

        public static final long CloudServiceRevoked
        user has revoked permission to use this cloud service API-Since: 10.3
        See Also:
        Constant Field Values
      • PrivacyAcknowledgementRequired

        public static final long PrivacyAcknowledgementRequired
        The user needs to acknowledge Apple's privacy policy API-Since: 12.2
        See Also:
        Constant Field Values
      • UnauthorizedRequestData

        public static final long UnauthorizedRequestData
        The app is attempting to use SKPayment's requestData property, but does not have the appropriate entitlement API-Since: 12.2
        See Also:
        Constant Field Values
      • InvalidOfferIdentifier

        public static final long InvalidOfferIdentifier
        The specified subscription offer identifier is not valid API-Since: 12.2
        See Also:
        Constant Field Values
      • InvalidSignature

        public static final long InvalidSignature
        The cryptographic signature provided is not valid API-Since: 12.2
        See Also:
        Constant Field Values
      • MissingOfferParams

        public static final long MissingOfferParams
        One or more parameters from SKPaymentDiscount is missing API-Since: 12.2
        See Also:
        Constant Field Values
      • InvalidOfferPrice

        public static final long InvalidOfferPrice
        The price of the selected offer is not valid (e.g. lower than the current base subscription price) API-Since: 12.2
        See Also:
        Constant Field Values
      • OverlayCancelled

        public static final long OverlayCancelled
        API-Since: 12.2
        See Also:
        Constant Field Values
      • OverlayInvalidConfiguration

        public static final long OverlayInvalidConfiguration
        API-Since: 14.0
        See Also:
        Constant Field Values
      • OverlayTimeout

        public static final long OverlayTimeout
        API-Since: 14.0
        See Also:
        Constant Field Values
      • IneligibleForOffer

        public static final long IneligibleForOffer
        User is not eligible for the subscription offer API-Since: 14.0
        See Also:
        Constant Field Values
      • UnsupportedPlatform

        public static final long UnsupportedPlatform
        API-Since: 14.0
        See Also:
        Constant Field Values
      • OverlayPresentedInBackgroundScene

        public static final long OverlayPresentedInBackgroundScene
        Client tried to present an SKOverlay in UIWindowScene not in the foreground API-Since: 14.5
        See Also:
        Constant Field Values