How to recognize Sonic Code using Recognition SDK

Recognition Module Object Creation

Returns the Sonic Code recognition module object.

Java

getInstance()

Objective-C

sharedInstance

Swift

sharedInstance()

SonicCode UniqueID and SCDelegator settings

Provided SCDelegator to notify your app of events related to recognition module operation. Various error messages and event messages generated inside the recognition module can be implemented and delivered with SCDelegator.

Java

setUniqueIDAndDelegator (String uid, SCDelegator delegator )

! NullPointerException occurs when uid has a null value.