start

fun start(tempoStatusListener: TempoServiceStatusListener)

Call this method to start Tempo. Before calling this function, make sure that the application has the correct location permissions. We recommend checking that the correct location permissions are granted each time prior to calling this function. Thus, it is important to call this function while the application is in the foreground, so the user can respond to the location authorization prompt.

Since

18.0.0

Parameters

tempoStatusListener

provide a callback when start is complete. For more details see TempoServiceStatusListener


fun start(context: Context, tempoStatusListener: TempoServiceStatusListener)

Deprecated

We are replacing this method with start(tempoStatusListener)

Replace with

TempoService.start(tempoStatusListener)

Call this method to start Tempo. Before calling this function, make sure that the application has the correct location permissions. We recommend checking that the correct location permissions are granted each time prior to calling this function. Thus, it is important to call this function while the application is in the foreground, so the user can respond to the location authorization prompt.

Since

15.3.0

Parameters

tempoStatusListener

provide a callback when start is complete. For more details see TempoServiceStatusListener