RevokedUIProtocol
public protocol RevokedUIProtocol
UI Protocol for error handling of revoked badge
-
Returns an instance of the class conforming to
RevokedUIProtocolprotocol.Declaration
Swift
static func instance() -> RevokedUIProtocol? -
Informs the user that a badge is revoked.
Declaration
Swift
func informUserOfBadgeRevocation(forBadge: Badge, completion: @escaping (Bool) -> Void)Parameters
badgeThe badge that is revoked
completionCompletion block to call once the user have been notified and the UI can be dismissed.
-
Dismiss any UI presented by the
informUserOfBadgeRevocation(_:completion:)Declaration
Swift
func dismiss()
RevokedUIProtocol Protocol Reference