WalletUpdateDelegate

public protocol WalletUpdateDelegate : AnyObject

A delegate for implementing a handler of Wallet Updates

  • Function called when new Wallet updates are received from the Gallagher cloud and when local and remote wallet updates are received for the specific wallet instance. When the delegate is first added a full list of the stored Wallet updates are returned.

    Declaration

    Swift

    func onWalletsUpdated(_ addedOrUpdatedWallets: [Wallet], _ removedWallets: [Wallet])

    Parameters

    addedOrUpdatedWallets

    list of added or updated Wallets.

    removedWallets

    list of removed Wallets.