Session

interface Session

A Session matches instances of Signature against a Catalog. Pass a Signature to the match method and respond with one MatchResult.

If the source of audio is in realtime (eg. a microphone) see StreamingSession.

Functions

match
Link copied to clipboard
abstract suspend fun match(signature: Signature): MatchResult
Match the Signature against the provided Catalog

Properties

catalog
Link copied to clipboard
abstract val catalog: Catalog
The Catalog used to initialize this session and which all matches will be made against.