Class SKDownload

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class SKDownload
extends NSObject
  • Constructor Details

    • SKDownload

      public SKDownload()
    • SKDownload

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

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

    • 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]
    • getContentLength

      @Deprecated public long getContentLength()
      Deprecated.
      Deprecated in iOS 13.0. Use -[SKDownload expectedContentLength]
    • getExpectedContentLength

      public long getExpectedContentLength()
      Since:
      Available in iOS 13.0 and later.
    • getContentIdentifier

      public String getContentIdentifier()
    • getContentURL

      public NSURL getContentURL()
    • getContentVersion

      public String getContentVersion()
    • getError

      public NSError getError()
    • getProgress

      public float getProgress()
    • getTimeRemaining

      public double getTimeRemaining()
    • getTransaction

      public SKPaymentTransaction getTransaction()
    • getRemainingTimeUnknown

      public static double getRemainingTimeUnknown()