GiniVisionNetworkCallback

Used by the GiniVisionNetworkService and GiniVisionNetworkApi to return the outcome of network calls.

public interface GiniVisionNetworkCallback<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)