TTGeofencingReportFenceDetails

Objective-C

@interface TTGeofencingReportFenceDetails : NSObject

Swift

class TTGeofencingReportFenceDetails : 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

Details of the fence and its position in relation to the provided point.

  • The id and name of the fence.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) TTGeofencingReportEntity *_Nonnull entity;

    Swift

    var entity: TTGeofencingReportEntity { get }
  • The distance in meters from the point passed in the request to the closest point of the fence.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double distance;

    Swift

    var distance: Double { get }
  • The point of the fence that’s the closes to the point passed in the request.

    Declaration

    Objective-C

    @property(nonatomic, strong, readonly) TTLocation *_Nonnull closestPoint

    Swift

    var closestPoint: UnsafeMutablePointer<Int32> { get }