T - the type of the responsepublic interface ServiceCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
failure(Throwable t)
Override this method to handle REST call failures.
|
void |
success(T result)
Override this method to handle successful REST call results.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/