See: Description
Interface | Description |
---|---|
GiniVisionNetworkApi |
Interface specifying network calls which can be performed manually from outside the Gini Vision
Library (e.g.
|
GiniVisionNetworkCallback |
Used by the
GiniVisionNetworkService and GiniVisionNetworkApi to return the
outcome of network calls. |
GiniVisionNetworkService |
Interface specifying network related tasks required by the Gini Vision Library in order to
communicate with the Gini API.
|
Class | Description |
---|---|
AnalysisResult |
Used by the
GiniVisionNetworkService to return analysis results. |
Error |
Used by the
GiniVisionNetworkService and GiniVisionNetworkApi to return error
messages. |
Result |
Used by the
GiniVisionNetworkService to return network call results. |
The Gini Vision Library uses the GiniVisionNetworkService
interface to request network calls when required. By implementing the interface and passing it to
the GiniVision.Builder.setGiniVisionNetworkService(net.gini.android.vision.network.GiniVisionNetworkService)
when creating the GiniVision
instance clients are free to use any
networking implementation that fits their needs.
The GiniVisionNetworkApi
can be implemented and used
to perform network calls manually outside of the Gini Vision Library (e.g. for sending feedback).
The easiest way to get started is to use the Gini Vision Network Library package which provides a default implementation of both interfaces.