public class Diagnostic
extends java.lang.Object
Example Usage: paramId DiagnosticData diagnosticData = PsObject.diagnostic.getDiagnosticData(DiagnosticParamId paramId ,DiagnosticConfig diagnosticconfig);
Modifier and Type | Method and Description |
---|---|
DiagnosticData |
getDiagnosticData(int paramId,
DiagnosticConfig diagnosticconfig)
Get the values for all the parameters or the specified parameter ID.
|
public DiagnosticData getDiagnosticData(int paramId, DiagnosticConfig diagnosticconfig) throws DiagnosticException
ParamID:Parameters
- to query .The paramId can be single param value or combination of multiple parameters request.
The multiple parameters request can be made by BATTERY_STATE_OF_CHARGE | BATTERY_TIME_TO_EMPTY or by using BATTERY_STATUS_ALL.DiagnosticsConfig
- :Input parametersDiagnosticException