Expand description
§Bindings to the ShazamKit framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- SHCatalog
SHCatalog - An abstract base class for storing reference signatures and their associated metadata.
- SHCustom
Catalog SHCatalogandSHCustomCatalog - An object for storing the reference signatures for custom audio recordings and their associated metadata.
- SHError
Code SHError - An error type that you create, or the system creates, to indicate problems with a catalog, match attempt, or signature, or when saving to a user’s Shazam library.
- SHMatch
SHMatch - An object that represents the catalog media items that match a query.
- SHMatched
Media Item SHMatchedMediaItemandSHMediaItem - An object that represents the metadata for a matched reference signature.
- SHMedia
Item SHMediaItem - An object that represents the metadata for a reference signature.
- SHMedia
Library Deprecated SHMediaLibrary - An object that represents the user’s Shazam library.
- SHRange
SHRange - A half-open interval from a lower bound up to, but not including, an upper bound.
- SHSession
SHSession - An object that matches a specific audio recording when a segment of that recording is part of captured sound in the Shazam catalog or your custom catalog.
- SHSignature
SHSignature - An object that contains the opaque data and other information for a signature.
- SHSignature
Generator SHSignatureGenerator - An object for converting audio data into a signature.
Statics§
- SHError
Domain ⚠SHError - The error domain for specific errors for ShazamKit.
- SHMedia
Item ⚠Apple MusicID SHMediaItem - The AppleMusic ID
- SHMedia
Item ⚠Apple MusicURL SHMediaItem - A link to this media on Apple Music
- SHMedia
Item ⚠Artist SHMediaItem - Artist
- SHMedia
Item ⚠ArtworkURL SHMediaItem - A URL to the artwork
- SHMedia
Item ⚠Confidence SHMatchedMediaItemandSHMediaItem - The value ranges from 0.0 to 1.0, where 1.0 indicates the highest level of confidence.
- SHMedia
Item ⚠Creation Date SHMediaItem - The date when the media item was created
- SHMedia
Item ⚠Explicit Content SHMediaItem - Is this content explicit
- SHMedia
Item ⚠Frequency Skew SHMatchedMediaItemandSHMediaItem - How much the match differs in frequency from reference material
- SHMedia
Item ⚠Frequency Skew Ranges SHMediaItem - The key to access the frequency skew ranges property of a media item.
- SHMedia
Item ⚠Genres SHMediaItem - An array of strings representing the genres of the media item
- SHMedia
ItemISRC ⚠SHMediaItem - The International Standard Recording Code
- SHMedia
Item ⚠Match Offset SHMatchedMediaItemandSHMediaItem - How far in seconds is this match from the start of the reference audio
- SHMedia
Item ⚠ShazamID SHMediaItem - The Shazam media ID
- SHMedia
Item ⚠Subtitle SHMediaItem - Subtitle
- SHMedia
Item ⚠Time Ranges SHMediaItem - The key to access the time ranges property of a media item.
- SHMedia
Item ⚠Title SHMediaItem - Title
- SHMedia
Item ⚠VideoURL SHMediaItem - A URL for a Video associated with the media
- SHMedia
Item ⚠WebURL SHMediaItem - A web URL representing this result
Traits§
- SHSession
Delegate SHSession - Methods that the session calls with the result of a match request.
- UTTypeSH
Shazam Additions UTType_SHShazamAdditions - Category “SHShazamAdditions” on
UTType.
Type Aliases§
- SHMedia
Item Property SHMediaItem - Constants for the media item property names.