An interface that exposes a list of methods used to track the state of recognition process.
Inherits com.pikkart.ar.recognition.INetworkInfoProvider.
Inherited by com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.
Public Member Functions | |
void | executingCloudSearch () |
Called whenever the current image is sent to the Pikkart Cloud Recognition Service. More... | |
void | cloudMarkerNotFound () |
Called whenever the Pikkart Cloud Recognition Service returns a negative response. More... | |
void | internetConnectionNeeded () |
Called whenever an internet connection is needed for communicating with the Pikkart Cloud Recognition Service but not available. More... | |
void | markerFound (Marker marker) |
Called whenever a marker is found. More... | |
void | markerNotFound () |
Called whenever the Pikkart-AR SDK doesn't find any marker before the timeout exceed. More... | |
void | markerTrackingLost (String markerId) |
Called whenever the tracking of the marker is lost. More... | |
void | ARLogoFound (String markerId, int code) |
Called whenever an ARLogo has been found. More... | |
void | markerEngineToUpdate (String markerid) |
Called whenever the app has an old SDK and can't open new markers. More... | |
Public Member Functions inherited from com.pikkart.ar.recognition.INetworkInfoProvider | |
boolean | isConnectionAvailable (Context context) |
A method used to check for internet connection before sending request to the Pikkart Cloud Recogntion Server. More... | |
void com.pikkart.ar.recognition.IRecognitionListener.executingCloudSearch | ( | ) |
Called whenever the current image is sent to the Pikkart Cloud Recognition Service.
Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.
void com.pikkart.ar.recognition.IRecognitionListener.cloudMarkerNotFound | ( | ) |
Called whenever the Pikkart Cloud Recognition Service returns a negative response.
Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.
void com.pikkart.ar.recognition.IRecognitionListener.internetConnectionNeeded | ( | ) |
Called whenever an internet connection is needed for communicating with the Pikkart Cloud Recognition Service but not available.
Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.
void com.pikkart.ar.recognition.IRecognitionListener.markerFound | ( | Marker | marker | ) |
Called whenever a marker is found.
marker | A Marker object encapsulating all the information about the marker just found. |
Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.
void com.pikkart.ar.recognition.IRecognitionListener.markerNotFound | ( | ) |
Called whenever the Pikkart-AR SDK doesn't find any marker before the timeout exceed.
This callback is called only with RecognitionStorage set to GLOBAL and RecognitionMode set to TAP_TO_SCAN.
Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.
void com.pikkart.ar.recognition.IRecognitionListener.markerTrackingLost | ( | String | markerId | ) |
Called whenever the tracking of the marker is lost.
markerId | The id of the marker just lost. |
Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.
void com.pikkart.ar.recognition.IRecognitionListener.ARLogoFound | ( | String | markerId, |
int | code | ||
) |
Called whenever an ARLogo has been found.
markerId | The id of the marker. |
code | The ARLogo code found. |
Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.
void com.pikkart.ar.recognition.IRecognitionListener.markerEngineToUpdate | ( | String | markerid | ) |
Called whenever the app has an old SDK and can't open new markers.
markerid | The id of the marker that cannot be loaded. |
Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.