One Logo Pool Ball
StoreKit · IOS API REFERENCE

SKDownload

class · iOS 6.0+ · Deprecated in iOS 16.0 · SDK 27.1

class SKDownload

Members (12)

init

init

TypeScript
static init(): SKDownload
Swift declaration
init()
get · iOS 6.0+ · Deprecated in iOS 16.0

contentIdentifier

TypeScript
get contentIdentifier(): string
Swift declaration
var contentIdentifier: String { get }
get · iOS 6.0+ · Deprecated in iOS 13.0

contentLength

TypeScript
get contentLength(): number
Swift declaration
var contentLength: Int64 { get }
get · iOS 6.0+ · Deprecated in iOS 16.0

contentURL

TypeScript
get contentURL(): (string) | null
Swift declaration
var contentURL: URL? { get }
get · iOS 6.0+ · Deprecated in iOS 16.0

contentVersion

TypeScript
get contentVersion(): string
Swift declaration
var contentVersion: String { get }
get · iOS 6.0+ · Deprecated in iOS 12.0

downloadState

TypeScript
get downloadState(): SKDownloadState
Swift declaration
var downloadState: SKDownloadState { get }
get · iOS 6.0+ · Deprecated in iOS 16.0

error

TypeScript
get error(): (NativeError) | null
Swift declaration
var error: (any Error)? { get }
get · iOS 13.0+ · Deprecated in iOS 16.0

expectedContentLength

TypeScript
get expectedContentLength(): number
Swift declaration
var expectedContentLength: Int64 { get }
get · iOS 6.0+ · Deprecated in iOS 16.0

progress

TypeScript
get progress(): number
Swift declaration
var progress: Float { get }
get · iOS 12.0+ · Deprecated in iOS 16.0

state

TypeScript
get state(): SKDownloadState
Swift declaration
var state: SKDownloadState { get }
get · iOS 6.0+ · Deprecated in iOS 16.0

timeRemaining

TypeScript
get timeRemaining(): number
Swift declaration
var timeRemaining: TimeInterval { get }
get · iOS 6.0+ · Deprecated in iOS 16.0

transaction

TypeScript
get transaction(): SKPaymentTransaction
Swift declaration
var transaction: SKPaymentTransaction { get }

Skipped declarations

No declarations were skipped in this snapshot.

All StoreKit types →