GeoFenceUIProtocol
public protocol GeoFenceUIProtocol
Geo Fence UI Protocol
-
Returns an instance of the class conforming to
GeoFenceUIProtocolprotocolDeclaration
Swift
static func instance() -> GeoFenceUIProtocol? -
Informs the user that the badge is restricted and cannot be used at the current location.
See also
Declaration
Swift
func informUserOfGeoFenceNonCompliance(_ badge: Badge, completion: @escaping () -> Void)Parameters
badgeThe badge that is restricted.
completionCompletion block to call once the user has been notified and the UI can be dismissed.
-
Dismiss any UI presented by the
informUserOfGeoFenceNonCompliance(_:completion:)Declaration
Swift
func dismiss()
GeoFenceUIProtocol Protocol Reference