<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 12.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLSharedEventListener",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLSharedEventListener"
  },
  "title" : "MTLSharedEventListener"
}
-->

# MTLSharedEventListener

A listener for shareable event notifications.

```
class MTLSharedEventListener
```

## Topics

### Initializing a shareable event listener

[`init()`](/documentation/Metal/MTLSharedEventListener/init())

Creates a new shareable event listener.

[`init(dispatchQueue:)`](/documentation/Metal/MTLSharedEventListener/init(dispatchQueue:))

Creates a new shareable event listener with a specific dispatch queue.

### Getting the dispatch queue

[`dispatchQueue`](/documentation/Metal/MTLSharedEventListener/dispatchQueue)

The dispatch queue used to dispatch any notifications.



---

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)