T
- Successful response body type.public interface ICallback<T>
Modifier and Type | Method and Description |
---|---|
void |
onFailure(Call<T> call,
java.lang.Throwable throwable)
Invoked when an exception occurred talking to the LWM2M or when an unexpected
exception occurred creating the request or processing the response
|
void |
onResponse(Call<T> call,
<any> response)
Invoked for a received LWM2M response.
|
void onResponse(Call<T> call, <any> response)
Note: An LWM2M2 response may still indicate an application-level failure. Call Response::isSuccessful() to determine if the response indicates success.
call
- original callresponse
- IoTize response