//sorisdk/com.iplateia.sorisdk/ISORIListener
ISORIListener
interface ISORIListener
Interface definition for a callback to be invoked when SORI events occur. Implement this interface to receive notifications about service readiness, errors, and detected campaigns.
Inheritors
SORIListener |
Functions
Name | Summary |
---|---|
onCampaignFound | [androidJvm] abstract fun onCampaignFound(campaign: SORICampaign) Called when the Audio Recognition Service detects a campaign based on the audio input. |
onError | [androidJvm] abstract fun onError(error: String) Called when the Audio Recognition Service encounters an error. |
onReady | [androidJvm] abstract fun onReady() Called when the Audio Recognition Service is ready and started. |
onStateChanged | [androidJvm] abstract fun onStateChanged(state: String) Called when the Service State changes. |