public static class ReportQuery.Builder
Builder used to create an instance of class ReportQuery
. Once constructed, the user cannot change the field values.
class ReportQuery
Constructor and Description |
---|
Builder(android.location.Location location)
Builder used to create an instance of
class ReportQuery . Once constructed, the user cannot change the field values. |
Modifier and Type | Method and Description |
---|---|
ReportQuery |
build()
Creates a new instance of
class ReportQuery . |
android.location.Location |
getLocation()
The location
|
ReportQuery.Builder |
objectId(java.util.UUID objectId)
The object unique id used to generate a report.
|
ReportQuery.Builder |
projectId(java.util.UUID projectId)
The project unique id used to generate the report.
|
ReportQuery.Builder |
range(float range)
The radius of a circle around the provided point in meters.
|
public Builder(android.location.Location location)
Builder used to create an instance of class ReportQuery
. Once constructed, the user cannot change the field values.
location
- The location (in coordinates) for which the report is requested.location
- The location (in coordinates) for which the report is requested.class ReportQuery
public ReportQuery.Builder projectId(java.util.UUID projectId)
The project unique id used to generate the report.
public ReportQuery.Builder objectId(java.util.UUID objectId)
The object unique id used to generate a report.
public ReportQuery.Builder range(float range)
The radius of a circle around the provided point in meters.
public ReportQuery build()
Creates a new instance of class ReportQuery
.
class ReportQuery
public android.location.Location getLocation()
The location
(in coordinates) for which the report is requested.