Files
keyboard/keyBoard/Class/Pay/StoreKit2Manager/Internal/StoreKitServiceDelegate.swift
2025-12-16 15:47:12 +08:00

27 lines
820 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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])
///
func service(_ service: StoreKitService, didCompletePurchaseFor productId: String, payload: String)
}