TTMatcherDelegate

@protocol TTMatcherDelegate <NSObject>

Delegate that contains matching result. @BETA

  • Callback locations.

    Declaration

    Objective-C

    - (void)matcherResultMatchedLocation:(TTMatcherLocation *_Nonnull)matched
                    withOriginalLocation:(TTMatcherLocation *_Nonnull)original
                               isMatched:(BOOL)isMatched;

    Swift

    func matcherResultMatchedLocation(_ matched: Any!, withOriginalLocation original: Any!, isMatched: Any!)

    Parameters

    matched

    Matched location.

    original

    Original location, from GPS etc.

    isMatched

    return true while original location is matched.