Package com.bosch.wdw
Interface WDWClient
public interface WDWClient
The WDWClient is the main interface of the WDW-SDK.
The WDW-SDK is the client part of the WDW service. It provides the
functionality to collect device sensor data and receive wrong way driver warnings.
An instance of the WDWClient can be created using the WDWBuilder.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluateMessage(String serverMessage) Evaluates a message manually in case the internal push implementation of the WDW-SDK is not used.voidStarts the monitoring of the WDW-SDK.voidStops the monitoring of the WDW-SDK.
-
Field Details
-
VERSION
Current WDW-SDK version number.
-
-
Method Details
-
evaluateMessage
Evaluates a message manually in case the internal push implementation of the WDW-SDK is not used. If the message is relevant for the current driver, theWDWClientCallback.onWarningReceived(WarningEvent)will be called.- Parameters:
serverMessage- the serverMessage to be evaluated.- See Also:
-
startMonitoring
void startMonitoring()Starts the monitoring of the WDW-SDK. When the WDW-SDK is started, it collects device sensor data and receives wrong way driver warnings. When it is stopped, it does nothing. -
stopMonitoring
void stopMonitoring()Stops the monitoring of the WDW-SDK. The WDW-SDK collects data until it is specifically told to stop. Even if the app is in the background, the WDW-SDK continues to collect device sensor data and receive wrong way driver warnings.
-