Package es.situm.sdk.realtime
Interface RealTimeListener
-
public interface RealTimeListener
Listener in which the device positions are received
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(Error error)
Invoked in case any error happensvoid
onUserLocations(RealTimeData realTimeData)
Invoked when there is a new list of devices positions
-
-
-
Method Detail
-
onUserLocations
void onUserLocations(RealTimeData realTimeData)
Invoked when there is a new list of devices positions- Parameters:
realTimeData
- , the new positions for devices
-
onError
void onError(Error error)
Invoked in case any error happens- Parameters:
error
-
-
-