Package org.robovm.apple.storekit
Class SKProduct
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.storekit.SKProduct
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class SKProduct extends NSObject
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SKProduct.SKProductPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description SKProduct()
protected
SKProduct(NSObject.Handle h, long handle)
protected
SKProduct(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NSArray<SKProductDiscount>
getDiscounts()
NSArray<NSNumber>
getDownloadContentLengths()
java.lang.String
getDownloadContentVersion()
SKProductDiscount
getIntroductoryPrice()
java.lang.String
getLocalizedDescription()
java.lang.String
getLocalizedTitle()
NSDecimalNumber
getPrice()
NSLocale
getPriceLocale()
java.lang.String
getProductIdentifier()
java.lang.String
getSubscriptionGroupIdentifier()
SKProductSubscriptionPeriod
getSubscriptionPeriod()
boolean
isDownloadable()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
SKProduct
public SKProduct()
-
SKProduct
protected SKProduct(NSObject.Handle h, long handle)
-
SKProduct
protected SKProduct(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getLocalizedDescription
public java.lang.String getLocalizedDescription()
- Since:
- Available in iOS 3.0 and later.
-
getLocalizedTitle
public java.lang.String getLocalizedTitle()
- Since:
- Available in iOS 3.0 and later.
-
getPrice
public NSDecimalNumber getPrice()
- Since:
- Available in iOS 3.0 and later.
-
getPriceLocale
public NSLocale getPriceLocale()
- Since:
- Available in iOS 3.0 and later.
-
getProductIdentifier
public java.lang.String getProductIdentifier()
- Since:
- Available in iOS 3.0 and later.
-
isDownloadable
public boolean isDownloadable()
- Since:
- Available in iOS 6.0 and later.
-
getDownloadContentLengths
public NSArray<NSNumber> getDownloadContentLengths()
- Since:
- Available in iOS 6.0 and later.
-
getDownloadContentVersion
public java.lang.String getDownloadContentVersion()
- Since:
- Available in iOS 6.0 and later.
-
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 java.lang.String getSubscriptionGroupIdentifier()
- Since:
- Available in iOS 12.0 and later.
-
getDiscounts
public NSArray<SKProductDiscount> getDiscounts()
- Since:
- Available in iOS 12.2 and later.
-
-