<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ShazamKit",
  "identifier" : "/documentation/ShazamKit/SHSessionDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "ShazamKit"
    ],
    "preciseIdentifier" : "c:objc(pl)SHSessionDelegate"
  },
  "title" : "SHSessionDelegate"
}
-->

# SHSessionDelegate

Methods that the session calls with the result of a match request.

```
protocol SHSessionDelegate : NSObjectProtocol
```

## Topics

### Handling matches

[`func session(SHSession, didFind: SHMatch)`](/documentation/ShazamKit/SHSessionDelegate/session(_:didFind:))

Tells the delegate that the query signature matches an item in the catalog.

[`func session(SHSession, didNotFindMatchFor: SHSignature, error: (any Error)?)`](/documentation/ShazamKit/SHSessionDelegate/session(_:didNotFindMatchFor:error:))

Tells the delegate that the query signature doesn’t match an item in the catalog, or that there’s an error.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)