Interface | Description |
---|---|
ErrorListener |
Most SDK APIs take an ErrorListener as the final argument.
|
Class | Description |
---|---|
RequestFuture<T> |
A Future that represents an AylaAPIRequest.
|
Enum | Description |
---|---|
AylaError.ErrorType |
Enumeration of error types
|
Exception | Description |
---|---|
AppPermissionError |
An AppPermissionError is returned to the caller when permission for an operation has not been
given by the app.
|
AuthError |
An AuthError is returned when the server fails to authenticate a request.
|
AylaError |
All errors returned from the SDK are instances of AylaError.
|
InternalError |
An InternalError represents an unrecoverable error that occurred within the SDK.
|
InvalidArgumentError |
InvalidArgumentErrors are generated when an API method is called with invalid arguments, such
as null values where values are required, etc.
|
JsonError |
A JsonError is generated when the SDK encounters invalid JSON data that could not be parsed.
|
NetworkError |
A NetworkError is generated when network conditions prevent a request from being completed.
|
OperationIncompleteError |
An OperationIncompleteError is returned to the caller when a batch of requests is performed,
such as updating a set of schedule actions, and some of them succeed.
|
PreconditionError |
A PreconditionError is generated when a request is made that can not be completed due to a
precondition not being met.
|
PropertyAckTimeoutError |
A specific TimeoutError generated when polling a ACK enabled property timed out,
especially to-device property, which means the device the property belongs to
was most probably down.
|
ServerError |
A ServerError represents a non-200-level HTTP error code that was received from the server.
|
TimeoutError |
A TimeoutError is generated when a network operation did not complete before the network
timeout time has elapsed.
|