Package org.robovm.apple.storekit
Class SKDownload
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.storekit.SKDownload
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class SKDownload extends NSObject
- Since:
- Available in iOS 6.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SKDownload.SKDownloadPtr
-
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 SKDownload()
protected
SKDownload(NSObject.Handle h, long handle)
protected
SKDownload(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getContentIdentifier()
long
getContentLength()
NSURL
getContentURL()
java.lang.String
getContentVersion()
SKDownloadState
getDownloadState()
Deprecated.Deprecated in iOS 12.0.NSError
getError()
float
getProgress()
static double
getRemainingTimeUnknown()
SKDownloadState
getState()
double
getTimeRemaining()
SKPaymentTransaction
getTransaction()
-
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
-
SKDownload
public SKDownload()
-
SKDownload
protected SKDownload(NSObject.Handle h, long handle)
-
SKDownload
protected SKDownload(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getState
public SKDownloadState getState()
- Since:
- Available in iOS 12.0 and later.
-
getDownloadState
@Deprecated public SKDownloadState getDownloadState()
Deprecated.Deprecated in iOS 12.0. Use [SKDownload state] instead- Since:
- Available in iOS 6.0 and later.
-
getContentLength
public long getContentLength()
- Since:
- Available in iOS 6.0 and later.
-
getContentIdentifier
public java.lang.String getContentIdentifier()
- Since:
- Available in iOS 6.0 and later.
-
getContentURL
public NSURL getContentURL()
- Since:
- Available in iOS 6.0 and later.
-
getContentVersion
public java.lang.String getContentVersion()
- Since:
- Available in iOS 6.0 and later.
-
getError
public NSError getError()
- Since:
- Available in iOS 6.0 and later.
-
getProgress
public float getProgress()
- Since:
- Available in iOS 6.0 and later.
-
getTimeRemaining
public double getTimeRemaining()
- Since:
- Available in iOS 6.0 and later.
-
getTransaction
public SKPaymentTransaction getTransaction()
- Since:
- Available in iOS 6.0 and later.
-
getRemainingTimeUnknown
public static double getRemainingTimeUnknown()
- Since:
- Available in iOS 6.0 and later.
-
-