GiniCaptureNetworkCallback

Used by the GiniCaptureNetworkService and GiniCaptureNetworkApi to return the outcome of network calls.

public interface GiniCaptureNetworkCallback<R, E>

Parameters

<E>

< error type

<R>

< result type

Functions

cancelled
Link copied to clipboard

Called when the network call has been cancelled.

abstract void cancelled()
failure
Link copied to clipboard

Called when the network call failed.

abstract void failure(E error)
success
Link copied to clipboard

Called when the network call completed successfully.

abstract void success(R result)