GiniCaptureNetworkCallback

public interface GiniCaptureNetworkCallback<R, E>

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

Parameters

<R>

result type

<E>

error type

Functions

Link copied to clipboard
abstract void cancelled()
Called when the network call has been cancelled.
Link copied to clipboard
abstract void failure(E error)
Called when the network call failed.
Link copied to clipboard
abstract void success(R result)
Called when the network call completed successfully.