PointsWalletFetchDelegate
public protocol PointsWalletFetchDelegate : AnyObject
Notified of points wallet fetch results
-
Called when the
PointsWalletResultwas fetched successfully- result: Fetched
PointsWalletResult
Declaration
Swift
func pointsWalletFetchDidSucceedWith(_ result: PointsWalletResult) - result: Fetched
-
Called when there was an error fetching the
PointsWallet- error: The
Errorrepresenting the reason for failure. No specific errors to look for here. Best course of action is to just display a generic error message.
Declaration
Swift
func pointsWalletFetchDidFailWith(_ error: Error) - error: The
PointsWalletFetchDelegate Protocol Reference