-
public interface GiniCaptureNetworkCallback<R, E>Used by the GiniCaptureNetworkService and GiniCaptureNetworkApi to return the outcome of network calls.
-
-
Method Summary
-
-
Method Detail
-
failure
abstract void failure(E error)
Called when the network call failed.
- Parameters:
error- failure error
-
success
abstract void success(R result)
Called when the network call completed successfully.
- Parameters:
result- network call result
-
cancelled
abstract void cancelled()
Called when the network call has been cancelled.
-
-
-
-