Files
keyboard/keyBoard/Class/Pay/StoreKit2Manager/Internal/StoreKitServiceDelegate.swift

27 lines
820 B
Swift
Raw Normal View History

2025-12-16 13:10:50 +08:00
//
// StoreKitServiceDelegate.swift
// StoreKit2Manager
//
// Created by xiaopin on 2025/12/6.
//
import Foundation
import StoreKit
/// StoreKitService
/// 线
@MainActor
internal protocol StoreKitServiceDelegate: AnyObject {
///
func service(_ service: StoreKitService, didUpdateState state: StoreKitState)
///
func service(_ service: StoreKitService, didLoadProducts products: [Product])
///
func service(_ service: StoreKitService, didUpdatePurchasedTransactions efficient: [Transaction], latests: [Transaction])
2025-12-16 15:47:12 +08:00
///
func service(_ service: StoreKitService, didCompletePurchaseFor productId: String, payload: String)
2025-12-16 13:10:50 +08:00
}