Class SKProduct

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class SKProduct
extends NSObject
  • Constructor Details

    • SKProduct

      public SKProduct()
    • SKProduct

      protected SKProduct​(NSObject.Handle h, long handle)
    • SKProduct

      protected SKProduct​(NSObject.SkipInit skipInit)
  • Method Details

    • getLocalizedDescription

      public String getLocalizedDescription()
    • getLocalizedTitle

      public String getLocalizedTitle()
    • getPrice

      public NSDecimalNumber getPrice()
    • getPriceLocale

      public NSLocale getPriceLocale()
    • getProductIdentifier

      public String getProductIdentifier()
    • isDownloadable

      public boolean isDownloadable()
    • isFamilyShareable

      public boolean isFamilyShareable()
      Since:
      Available in iOS 14.0 and later.
    • getDownloadContentLengths

      public NSArray<NSNumber> getDownloadContentLengths()
    • getContentVersion

      public String getContentVersion()
    • getDownloadContentVersion

      public String getDownloadContentVersion()
    • getSubscriptionPeriod

      public SKProductSubscriptionPeriod getSubscriptionPeriod()
      Since:
      Available in iOS 11.2 and later.
    • getIntroductoryPrice

      public SKProductDiscount getIntroductoryPrice()
      Since:
      Available in iOS 11.2 and later.
    • getSubscriptionGroupIdentifier

      public String getSubscriptionGroupIdentifier()
      Since:
      Available in iOS 12.0 and later.
    • getDiscounts

      public NSArray<SKProductDiscount> getDiscounts()
      Since:
      Available in iOS 12.2 and later.