sdk-geofencing / com.tomtom.online.sdk.geofencing.report / ReportQuery / Builder

Builder

class Builder

Builder used to create an instance of ReportQuery. Once constructed, the user cannot change the field values.

Parameters

location - The location (in coordinates) for which the report is requested.

Constructors

<init>

Builder(location: Location)

Builder used to create an instance of ReportQuery. Once constructed, the user cannot change the field values.

Properties

location

val location: Location

The location (in coordinates) for which the report is requested.

Functions

build

fun build(): ReportQuery

Creates a new instance of ReportQuery.

objectId

fun objectId(objectId: UUID): ReportQuery.Builder

The object unique id used to generate a report.

projectId

fun projectId(projectId: UUID): ReportQuery.Builder

The project unique id used to generate the report.

range

fun range(range: Float): ReportQuery.Builder

The radius of a circle around the provided point in meters.