Enum SKANError

java.lang.Object
java.lang.Enum<SKANError>
org.robovm.apple.storekit.SKANError
All Implemented Interfaces:
Serializable, Comparable<SKANError>, NSErrorCode, ValuedEnum

public enum SKANError
extends Enum<SKANError>
implements NSErrorCode
Since:
Available in iOS 15.4 and later.
  • Enum Constant Details

    • ImpressionMissingRequiredValue

      public static final SKANError ImpressionMissingRequiredValue
    • Unsupported

      public static final SKANError Unsupported
    • AdNetworkIdMissing

      public static final SKANError AdNetworkIdMissing
    • MismatchedSourceAppId

      public static final SKANError MismatchedSourceAppId
    • ImpressionNotFound

      public static final SKANError ImpressionNotFound
    • InvalidCampaignId

      public static final SKANError InvalidCampaignId
    • InvalidConversionValue

      public static final SKANError InvalidConversionValue
    • InvalidSourceAppId

      public static final SKANError InvalidSourceAppId
    • InvalidAdvertisedAppId

      public static final SKANError InvalidAdvertisedAppId
    • InvalidVersion

      public static final SKANError InvalidVersion
    • Unknown

      public static final SKANError Unknown
  • Method Details

    • values

      public static SKANError[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SKANError valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getClassDomain

      public static String getClassDomain()
      Since:
      Available in iOS 15.4 and later.
    • value

      public long value()
      Specified by:
      value in interface ValuedEnum
    • valueOf

      public static SKANError valueOf​(long n)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      n - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null