GeoFenceUIProtocol

public protocol GeoFenceUIProtocol

Geo Fence UI Protocol

  • Returns an instance of the class conforming to GeoFenceUIProtocol protocol

    Declaration

    Swift

    static func instance() -> GeoFenceUIProtocol?
  • Informs the user that the badge is restricted and cannot be used at the current location.

    Declaration

    Swift

    func informUserOfGeoFenceNonCompliance(_ badge: Badge, completion: @escaping () -> Void)
    Parameters
    badge

    The badge that is restricted.

    completion

    Completion 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()