public interface GiniVisionNetworkCallback
GiniVisionNetworkService
and GiniVisionNetworkApi
to return the
outcome of network calls.Modifier and Type | Method and Description |
---|---|
void |
cancelled()
Called when the network call has been cancelled.
|
void |
failure(java.lang.Object error)
Called when the network call failed.
|
void |
success(java.lang.Object result)
Called when the network call completed successfully.
|
void failure(java.lang.Object error)
error
- failure errorvoid success(java.lang.Object result)
result
- network call resultvoid cancelled()