sdk-geofencing / com.tomtom.online.sdk.geofencing.report / ReportCallback

ReportCallback

@PublicPreview @Beta(2020, 9) interface ReportCallback

Callback which is responsible to inform about a received Report or respective error.

Functions

onError

abstract fun onError(error: GeofencingException): Unit

Called when an error occurs during the process of obtaining the Report.

onSuccess

abstract fun onSuccess(report: Report): Unit

Called when a Report has been obtained successfully.