AddToWalletDisplayStatus
public struct AddToWalletDisplayStatus : CustomDebugStringConvertible
A helper struct that holds the status of the user’s phone and watch to guide UI decisions for adding passes to Wallet.
-
Declaration
Swift
public var phoneStatus: WalletDeviceStatus -
Declaration
Swift
public var watchStatus: WalletDeviceStatus -
Declaration
Swift
public var debugDescription: String { get } -
Declaration
Swift
public init(phoneStatus: WalletDeviceStatus = .notApplicable, watchStatus: WalletDeviceStatus = .notApplicable) -
Returns
trueif adding passes to Wallet is available on the user’s phone.Declaration
Swift
public var showAddToWalletForPhone: Bool { get } -
Returns
trueif adding passes to Wallet is available on the user’s watch.Declaration
Swift
public var showAddToWalletForWatch: Bool { get }
AddToWalletDisplayStatus Structure Reference