public interface Callback
Modifier and Type | Method and Description |
---|---|
void |
handleError(java.lang.String errorStr)
Sends any error message occuring during the validation back to the caller via callback function.
|
void |
progressUpdate(java.lang.Integer percent)
Report the device validation progress to the caller method.
|
void |
statusUpdate(java.lang.String var1) |
void |
taskComplete() |
void |
taskComplete(JSONObject result)
Send result of the validation back to the caller via callback function.
|
void progressUpdate(java.lang.Integer percent)
percent
- - Progress percentagevoid taskComplete(JSONObject result)
result
- JSONObject that contains the result of the validationvoid handleError(java.lang.String errorStr)
errorStr
- A String that is the message of the error.void statusUpdate(java.lang.String var1)
void taskComplete()