CraftAR Unity Pro SDK  1.0
Public Member Functions | List of all members
CraftARCloudRecognition.CloudCallbacks Interface Reference

The CloudCallbacks interface defines the callbacks used by the CraftARSDK to notify the app about CraftARCloudRecognition related events. More...

Public Member Functions

void SearchResults (List< CraftARSearchResult > results)
 Called when a search response is received. More...
 
void SearchError (CraftARError error)
 Called when an error was produced during recognition. More...
 
void CollectionReady ()
 Called when the token was set and its validation was successful.

See also
CraftARSDK.setToken()
More...
 
void TokenValidationError (CraftARError error)
 Called when the token was set and its validation failed. More...
 

Detailed Description

The CloudCallbacks interface defines the callbacks used by the CraftARSDK to notify the app about CraftARCloudRecognition related events.

Member Function Documentation

◆ CollectionReady()

void CraftARCloudRecognition.CloudCallbacks.CollectionReady ( )

Called when the token was set and its validation was successful.

See also
CraftARSDK.setToken()

◆ SearchError()

void CraftARCloudRecognition.CloudCallbacks.SearchError ( CraftARError  error)

Called when an error was produced during recognition.

Parameters
errorError.

◆ SearchResults()

void CraftARCloudRecognition.CloudCallbacks.SearchResults ( List< CraftARSearchResult >  results)

Called when a search response is received.

Parameters
resultsList of recognised CraftARItems, can be empty.

◆ TokenValidationError()

void CraftARCloudRecognition.CloudCallbacks.TokenValidationError ( CraftARError  error)

Called when the token was set and its validation failed.

Parameters
errorError.

The documentation for this interface was generated from the following file: