Streaming Session
interface StreamingSession
Content copied to clipboard
A StreamingSession matches instances of Signature against a Catalog.
By passing a continuous stream of data to the matchStream method, matches are returned via recognitionResults. ShazamKit will convert the data to Signature objects internally and perform matches against the Catalog. The details of how the matching is performed is an implementation detail and is subject to change. As such there will be many values emitted by the flow per stream of audio, and the same match may be reported multiple times in succession.
Functions
matchStream
Link copied to clipboard
abstract fun matchStream(audioData: ByteArray, meaningfulLengthInBytes: Int, timestampInMs: Long)
Content copied to clipboard
recognitionResults
Link copied to clipboard