TTGeofencingReportQueryBuilder
Objective-C
@interface TTGeofencingReportQueryBuilder : NSObject
Swift
class TTGeofencingReportQueryBuilder : 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
TTGeofencingReportQueryBuilder geofencing report query.
-
Create query builder with location.
Declaration
Objective-C
- (instancetype _Nonnull)initWithLocation:(id)location;
Swift
init(location: Any!)
Parameters
location
location of geofencing report.
Return Value
TTGeofencingReportQueryBuilder
-
The project unique id used to generate the report.
Declaration
Objective-C
- (TTGeofencingReportQueryBuilder *_Nonnull)withProject: (NSString *_Nonnull)projectId;
Swift
func withProject(_ projectId: String) -> TTGeofencingReportQueryBuilder
Parameters
projectId
Default value: The object’s default project. Important note: This parameter is Required if the object parameter is not provided. @return
-
The object unique id used to generate a report.
Declaration
Objective-C
- (TTGeofencingReportQueryBuilder *_Nonnull)withObject: (NSString *_Nonnull)objectId;
Swift
func withObject(_ objectId: String) -> TTGeofencingReportQueryBuilder
Parameters
objectId
unique id.
Return Value
TTGeofencingReportQueryBuilder
-
The radius of a circle around the provided point.
Declaration
Objective-C
- (TTGeofencingReportQueryBuilder *_Nonnull)withRange:(double)range;
Swift
func withRange(_ range: Double) -> TTGeofencingReportQueryBuilder
Parameters
range,
default value: 0, range: 0,100000
Return Value
TTGeofencingReportQueryBuilder
-
Specifies HTTP headers for the Request. It can be used to trace a call.
Declaration
Objective-C
- (TTGeofencingReportQueryBuilder *_Nonnull)withHTTPHeaders:(id)headers;
Swift
func withHTTPHeaders(_ headers: Any!) -> TTGeofencingReportQueryBuilder
Parameters
headers
HTTP headers for the Request
Return Value
TTGeofencingReportQueryBuilder
-
Build of query.
Declaration
Objective-C
- (TTGeofencingReportQuery *_Nonnull)build;
Swift
func build() -> TTGeofencingReportQuery
Return Value
TTGeofencingReportQuery