Page Summary
-
DriverContext.StatusListenerprovides status updates for the Driver SDK. -
It is recommended to migrate to
DriverContext.DriverStatusListenerfor error cause logging. -
This listener will be removed in the next major release (v6.0).
-
It includes nested enums for status codes (
StatusCode) and severity levels (StatusLevel). -
The
updateStatusmethod is called when there are status updates, providing the severity level, status code, and a description.
Listener for status updates.
Please migrate to
DriverContext.DriverStatusListener which provides the ability of receiving the
cause of error logs.
Will be removed in the next major release (v6.0).
Nested Class Summary
| enum | DriverContext.StatusListener.StatusCode | The status codes of the status update. | |
| enum | DriverContext.StatusListener.StatusLevel | The severity levels of the status update. | |
Public Method Summary
| abstract void |
updateStatus(DriverContext.StatusListener.StatusLevel
statusLevel,
DriverContext.StatusListener.StatusCode statusCode, String statusMsg)
Called when there are status updates.
|
Public Methods
public abstract void updateStatus (DriverContext.StatusListener.StatusLevel statusLevel, DriverContext.StatusListener.StatusCode statusCode, String statusMsg)
Called when there are status updates.
Parameters
| statusLevel | The severity of the status message. |
|---|---|
| statusCode | The status code. |
| statusMsg | A description of the status. |