Class
PaywallInfo
public final class PaywallInfo: NSObject
PaywallInfo
is the primary class used to distinguish one paywall from another. Used primarily in Paywall.present(onPresent:onDismiss)
's completion handlers.
Relationships
Conforms To
NSObject
Properties
identifier
public let identifier: String
The identifier set for this paywall in Superwall's web dashboard.
experimentId
public let experimentId: String?
What experiment this paywall presentation is a party of
slug
public let slug: String
presentedByEventWithName
public let presentedByEventWithName: String?
The name of the event that triggered this Paywall. Defaults to nil
if triggeredByEvent
is false.
presentedByEventWithId
public let presentedByEventWithId: String?
The Superwall internal id (for debugging) of the event that triggered this Paywall. Defaults to nil
if triggeredByEvent
is false.
presentedByEventAt
public let presentedByEventAt: String?
The ISO date string (sorry) describing when the event triggered this paywall. Defaults to nil
if triggeredByEvent
is false.
presentedBy
public let presentedBy: String
How the paywall was presented, either 'programmatically', 'identifier', or 'event'
productIds
public let productIds: [String]
An array of product IDs that this paywall is displaying in [Primary, Secondary, Tertiary]
order.
responseLoadStartTime
public let responseLoadStartTime: String?
responseLoadCompleteTime
public let responseLoadCompleteTime: String?
responseLoadDuration
public let responseLoadDuration: Double?
webViewLoadStartTime
public let webViewLoadStartTime: String?
webViewLoadCompleteTime
public let webViewLoadCompleteTime: String?
webViewLoadDuration
public let webViewLoadDuration: Double?
productsLoadStartTime
public let productsLoadStartTime: String?
productsLoadCompleteTime
public let productsLoadCompleteTime: String?
productsLoadDuration
public let productsLoadDuration: Double?