SwiftstructAppStoreKit

struct AppStoreKit.PurchaseHistory

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 12

  1. fieldlet isAppleSiliconSupportEnabled: Bool+0x0
  2. fieldvar queue: OS_dispatch_queue+0x8
  3. funcexecute(_: ASDPurchaseHistoryQuery, familyMemberIDs: [Int64]?, completion: ([Int64 : [ASDPurchaseHistoryApp]]) -> ()) -> ()
  4. funcmakeQuery(for: Int64) -> ASDPurchaseHistoryQuery
  5. funcmakeQuery(isVisible: Bool, excludePreorders: Bool, searchTerm: String?) -> ASDPurchaseHistoryQuery
  6. funcsetHidden(_: Bool, forStoreItemID: Int64, completion: (Bool) -> ()) -> ()
  7. funcshowAll((Bool) -> ()) -> ()
  8. funcupdate(in: ASDPurchaseHistoryContext, _: (Bool) -> ()) -> ()
  9. funcupdate(for: Int64, in: ASDPurchaseHistoryContext, completion: (Bool) -> ()) -> ()
  10. initinit(isAppleSiliconSupportEnabled: Bool) -> AppStoreKit.PurchaseHistory
  11. varvar defaultPurchaseQuery: ASDPurchaseHistoryQuery { get }
  12. varvar purchasesChangedNotificationName: NSNotificationName { get }
struct PurchaseHistory {
    let isAppleSiliconSupportEnabled: Swift.Bool
    var queue: __C.OS_dispatch_queue

    init(isAppleSiliconSupportEnabled: Swift.Bool)

    var defaultPurchaseQuery: __C.ASDPurchaseHistoryQuery {
        get
    }
    var purchasesChangedNotificationName: __C.NSNotificationName {
        get
    }

    func update(in: __C.ASDPurchaseHistoryContext, _: @escaping (_: Swift.Bool) -> ())
    func update(for: Swift.Int64, in: __C.ASDPurchaseHistoryContext, completion: @escaping (_: Swift.Bool) -> ())
    func execute(_: __C.ASDPurchaseHistoryQuery, familyMemberIDs: [Swift.Int64]?, completion: @escaping (_: [Swift.Int64 : [__C.ASDPurchaseHistoryApp]]) -> ())
    func showAll(_: @escaping (_: Swift.Bool) -> ())
    func makeQuery(for: Swift.Int64) -> __C.ASDPurchaseHistoryQuery
    func makeQuery(isVisible: Swift.Bool, excludePreorders: Swift.Bool, searchTerm: Swift.String?) -> __C.ASDPurchaseHistoryQuery
    func setHidden(_: Swift.Bool, forStoreItemID: Swift.Int64, completion: @escaping (_: Swift.Bool) -> ())
}