Package es.situm.sdk.realtime
Interface RealTimeManager
-
public interface RealTimeManager
RealTimeManager provides the ability to obtain real-time data from device positions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isRunning()
Check if the realtime is runningvoid
removeRealTimeUpdates()
Stop getting the devices positionsvoid
requestRealTimeUpdates(RealTimeRequest request, RealTimeListener listener)
Starts getting the devices positions
-
-
-
Method Detail
-
requestRealTimeUpdates
void requestRealTimeUpdates(@NonNull RealTimeRequest request, @NonNull RealTimeListener listener)
Starts getting the devices positions- Parameters:
request
- the request to get devices positionslistener
- in which receive the devices positions
-
removeRealTimeUpdates
void removeRealTimeUpdates()
Stop getting the devices positions
-
isRunning
boolean isRunning()
Check if the realtime is running- Returns:
- true if running, false otherwise
-
-