Package-level declarations
Types
Name | Summary |
---|---|
AfpGenerator | [androidJvm] class AfpGenerator(listener: AfpGeneratorListener?) AfpGenerator is responsible for handling audio recording from the microphone, and generating AFP (Audio Fingerprint) data. |
AfpGeneratorListener | [androidJvm] open class AfpGeneratorListener : IAfpGeneratorListener |
AfpMatcher | [androidJvm] class AfpMatcher(service: Service, handler: Handler) AfpMatcher is a class that handles audio fingerprint matching. It uses the AfpGenerator to generate audio fingerprints and matches them against an AudioDB. It also manages the state of the matching process and handles errors. |
AudioDB | [androidJvm] class AudioDB : Iterable<AudioDB.Entry> AudioDB is a database for storing and managing audio entries. Provides methods for adding, removing, replacing, iterating, and matching audio entries. |
AudioEntry | [androidJvm] data class AudioEntry(val name: String, var type: Int, var buffer: ByteArray? = null, val length: Long) : AudioDB.Entry Represents an actual audio entry for the AudioDB. |
AudioLevelCalculator | [androidJvm] class AudioLevelCalculator Utility class to calculate the normalized audio level from a PCM byte buffer. Supports 8/16 bit, signed/unsigned, and endianness options. |
Config | [androidJvm] object Config |
Const | [androidJvm] object Const |
IAfpGeneratorListener | [androidJvm] 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. |
LibraryLoadingException | [androidJvm] class LibraryLoadingException : Exception |
MatchInfo | [androidJvm] @Serializable data class MatchInfo(val name: String, val type: Int, val matchedAt: Long) : Parcelable Represents the information of a match. It contains the name, type, and the date when it was matched. |
MatchState | [androidJvm] @Serializable data class MatchState(val items: List<MatchInfo> = LinkedList(), val ttl: Long = 3600) : Parcelable Represents the state of a match. It contains a list of recent matches until the TTL (Time To Live) expires. |
Messages | [androidJvm] object Messages |
TestFailedException | [androidJvm] class TestFailedException : Exception |