Package com.shazam.shazamkit

Types

AudioSampleRateInHz
Link copied to clipboard
enum AudioSampleRateInHz : Enum<AudioSampleRateInHz>
List of supported Sample Rates.
Catalog
Link copied to clipboard
interface Catalog
An interface marking a class for storing signatures.
CustomCatalog
Link copied to clipboard
interface CustomCatalog : Catalog
Configure a custom catalog of Signature objects to match against.
DeveloperToken
Link copied to clipboard
data class DeveloperToken(token: String)
Contains the developer token used to authenticate when ShazamCatalog is used to match signatures.
DeveloperTokenProvider
Link copied to clipboard
fun fun interface DeveloperTokenProvider
Provides a developer token when required.
HalfClosedDoubleRange
Link copied to clipboard
data class HalfClosedDoubleRange(lowerBound: Double, upperBound: Double)
A Range of Double where the lowerBound is included, and the upperBound is excluded: (lowerBound, upperBound].
InternalError
Link copied to clipboard
enum InternalError : Enum<InternalError>
Error codes returned when creating SDK components.
MatchedMediaItem
Link copied to clipboard
class MatchedMediaItem : MediaItem
MatchedMediaItem represents metadata that has been matched against a Catalog.
MatchError
Link copied to clipboard
enum MatchError : Enum<MatchError>
Represents some issue occurred during generating or matching signatures.
MatchResult
Link copied to clipboard
sealed class MatchResult
Represents the outcome of a match.
MediaItem
Link copied to clipboard
open class MediaItem
MediaItem represents metadata associated Signature.
Session
Link copied to clipboard
interface Session
A Session matches instances of Signature against a Catalog.
ShazamCatalog
Link copied to clipboard
class ShazamCatalog : Catalog
An online catalog containing signatures.
ShazamKit
Link copied to clipboard
object ShazamKit
Entry point to ShazamKit.
ShazamKitException
Link copied to clipboard
class ShazamKitException(internalError: InternalError, cause: Throwable?) : Exception
Exception representing an internal error from ShazamKit components.
ShazamKitMatchException
Link copied to clipboard
class ShazamKitMatchException(matchError: MatchError, cause: Throwable?) : Exception
Exception representing an error that might occur when using ShazamKit components.
ShazamKitResult
Link copied to clipboard
sealed class ShazamKitResult<out A, out B>
Utility class that allows to identify if an operation was successful or failed.
Signature
Link copied to clipboard
data class Signature
The Signature class is an opaque data container that can be used to store recognition data.
SignatureGenerator
Link copied to clipboard
interface SignatureGenerator
SignatureGenerator provides a way to convert audio data into instances of Signature.
StreamingSession
Link copied to clipboard
interface StreamingSession
A StreamingSession matches instances of Signature against a Catalog.