//sorisdk/com.iplateia.afplib/IAfpGeneratorListener
IAfpGeneratorListener
interface IAfpGeneratorListener
Interface definition for a callback to be invoked when Audio FingerPrint (AFP) generation events occur. Implement this interface to receive notifications about the start, finish, and generation of AFPs, as well as silence detection during audio processing.
Inheritors
AfpGeneratorListener |
Functions
Name | Summary |
---|---|
onAfpGenerated | [androidJvm] abstract fun onAfpGenerated(afpGenerator: AfpGenerator, afp: ByteArray, pcm: ByteArray?) Called when an AFP (Audio FingerPrint) has been generated. |
onFinished | [androidJvm] abstract fun onFinished(afpGenerator: AfpGenerator) Called when the AfpGenerator has finished processing. |
onSilenceDetected | [androidJvm] abstract fun onSilenceDetected(afpGenerator: AfpGenerator, hopCount: Int, countOfSilence: Int) Called when silence is detected during audio processing. |
onStarted | [androidJvm] abstract fun onStarted(afpGenerator: AfpGenerator) Called when the AfpGenerator has started. |