public class GeofencingApi implements ReportServiceApi
Defines API used to communicate with the Geofencing service.
| Modifier and Type | Method and Description |
|---|---|
static GeofencingApi |
create(android.content.Context context)
Factory method used to create new Geofencing API object.
|
io.reactivex.Single<com.tomtom.online.sdk.geofencing.data.report.ReportServiceResponse> |
obtainReport(ReportServiceQuery reportServiceQuery)
Performs the request to ReportService of Geofencing to obtain the report.
|
void |
obtainReport(ReportServiceQuery reportServiceQuery,
ReportServiceResultListener callback)
Performs the request to ReportService of Geofencing to obtain the report.
|
obtainReport, obtainReportpublic io.reactivex.Single<com.tomtom.online.sdk.geofencing.data.report.ReportServiceResponse> obtainReport(ReportServiceQuery reportServiceQuery)
Performs the request to ReportService of Geofencing to obtain the report.
reportServiceQuery - Query object which is used to pass data to Report serviceclass ReportServiceResponsepublic void obtainReport(ReportServiceQuery reportServiceQuery, ReportServiceResultListener callback)
Performs the request to ReportService of Geofencing to obtain the report.
reportServiceQuery - Query object which is used to pass data to the Report servicecallback - Listener on class ReportServiceResponsepublic static GeofencingApi create(android.content.Context context)
Factory method used to create new Geofencing API object.
context - Android's context.