Pikkart-AR SDK  3.5
Android SDK References
com.pikkart.ar.recognition.IRecognitionListener Interface Reference

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...
 

Member Function Documentation

◆ executingCloudSearch()

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.

◆ cloudMarkerNotFound()

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.

◆ internetConnectionNeeded()

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.

◆ markerFound()

void com.pikkart.ar.recognition.IRecognitionListener.markerFound ( Marker  marker)

Called whenever a marker is found.

Parameters
markerA Marker object encapsulating all the information about the marker just found.

Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.

◆ markerNotFound()

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.

◆ markerTrackingLost()

void com.pikkart.ar.recognition.IRecognitionListener.markerTrackingLost ( String  markerId)

Called whenever the tracking of the marker is lost.

Parameters
markerIdThe id of the marker just lost.

Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.

◆ ARLogoFound()

void com.pikkart.ar.recognition.IRecognitionListener.ARLogoFound ( String  markerId,
int  code 
)

Called whenever an ARLogo has been found.

Parameters
markerIdThe id of the marker.
codeThe ARLogo code found.

Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.

◆ markerEngineToUpdate()

void com.pikkart.ar.recognition.IRecognitionListener.markerEngineToUpdate ( String  markerid)

Called whenever the app has an old SDK and can't open new markers.

Parameters
markeridThe id of the marker that cannot be loaded.

Implemented in com.pikkart.ar.geo.GeoActivity, and com.pikkart.ar.recognition.RecognitionActivity.