TTGeofencingReport

Objective-C

@interface TTGeofencingReport : NSObject

Swift

class TTGeofencingReport : NSObject

Public Preview

This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

A report generated by the Geofencing service for a single point. It lists fences within a project specified in the request that the point is inside and outside of.

  • A summary of the report request.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) TTGeofencingReportSummary *_Nonnull summary;

    Swift

    var summary: TTGeofencingReportSummary { get }
  • A list of fences that the point passed in the request is inside of, in ascending order of the distance between the point and the fence.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<TTGeofencingReportFenceDetails *> *_Nonnull inside;

    Swift

    var inside: [TTGeofencingReportFenceDetails] { get }
  • A list of fences the point passed in request is outside of that are within provided radius from the point. If there are no such fences, the closest fence outside of the radius is returned, unless no fences the point is outside of exist in the project.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<TTGeofencingReportFenceDetails *> *_Nonnull outside;

    Swift

    var outside: [TTGeofencingReportFenceDetails] { get }
  • Response HTTP headers.

    Declaration

    Objective-C

    - (id)HTTPHeaders;

    Swift

    func httpHeaders() -> Any!