StoreKit Constants

This document describes the constants defined in the StoreKit framework and not described in a document for an individual class.

Symbols

Constants

var SKDownloadTimeRemainingUnknown: TimeInterval

Indicates that the system cannot determine how much time is needed to finish downloading the content.

SKErrorDomain

This constant defines the Store Kit framework error domain.

let SKReceiptPropertyIsExpired: String

A key whose value is an instance of NSNumber interpreted as a Boolean value, indicating whether the receipt is expired.

let SKReceiptPropertyIsRevoked: String

A key whose value is an instance of NSNumber interpreted as a Boolean value, indicating whether the receipt has been revoked.

let SKReceiptPropertyIsVolumePurchase: String

A key whose value is an instance of NSNumber interpreted as a Boolean value, indicating whether the receipt is a Volume Purchase Plan receipt.

let SKStoreProductParameterAdvertisingPartnerToken: String
let SKStoreProductParameterAffiliateToken: String

The value of this token is an instance of NSString, representing the affiliate identifier you wish to use for any purchase made through the view controller.

let SKStoreProductParameterCampaignToken: String

The value of this token is an instance of NSString, representing an App Analytics campaign. This value can contain any 40-byte string.

let SKStoreProductParameterITunesItemIdentifier: String

The value of this identifier is an instance of NSNumber, representing the iTunes identifier for the item you want the store to display when the view controller is presented.

let SKStoreProductParameterProviderToken: String

The value of this token is an instance of NSString, containing the provider token for the developer that created the app specified by the SKStoreProductParameterITunesItemIdentifier key.