public interface SHSessionDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
sessionDidFindMatch(SHSession session,
SHMatch match)
A match was found in the @c SHCatalog for the provided @c SHSignature
|
default void |
sessionDidNotFindMatchForSignatureError(SHSession session,
SHSignature signature,
NSError error)
The @c SHSignature did not match anything
|
default void sessionDidFindMatch(SHSession session, SHMatch match)
session - The @c SHSession that made the matchmatch - The @c SHMatch of the matching audiodefault void sessionDidNotFindMatchForSignatureError(SHSession session, SHSignature signature, NSError error)
session - The @c SHSession that attempted to match the @c SHSignaturesignature - The @c SHSignature that did not matcherror - An optional error. If simply no match was found this will be set to nil. It will be populated if there was an issue performing the match