public final class SHErrorCode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
AudioDiscontinuity
The audio provided was not contiguous
|
static long |
CustomCatalogInvalid
Failed to load the Custom Catalog
|
static long |
CustomCatalogInvalidURL
The Custom Catalog URL was invalid
|
static long |
InvalidAudioFormat
The @c AVAudioFormat is not supported
|
static long |
MatchAttemptFailed
The request to match the signature failed
|
static long |
MediaLibrarySyncFailed
Failed to sync some content to the user's library
|
static long |
SignatureDurationInvalid
The signature duration is outside the valid range
|
static long |
SignatureInvalid
Failed to create a signature from the provided audio
|
public static final long InvalidAudioFormat
ShazamKit only accepts certain audio formats
appendBuffer:atTime:error] for valid formats,
Constant Field Valuespublic static final long AudioDiscontinuity
Shazam requires audio to be contiguous in order to match.
public static final long SignatureInvalid
Validate the audio you are supplying, it may be silence.
public static final long SignatureDurationInvalid
The signature is valid but is too long/short for the service attempting to match it
public static final long MatchAttemptFailed
The attempt failed and was not matched, trying again may result in success [@note] This code does not indicate a 'No Match'
public static final long CustomCatalogInvalid
Validate the structure of the Catalog file
public static final long CustomCatalogInvalidURL
The URL must be a filePath URL that contains a valid Catalog
public static final long MediaLibrarySyncFailed
Failed to add some items to the user's library, trying again may result in success Underlying error may contain more details about the failure