---
title: shared
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avexternalsyncdevice/discoverysession/shared
---

# shared

The singleton instance of the external sync source device discovery session.

## Declaration

```swift
class var shared: AVExternalSyncDevice.DiscoverySession? { get }
```

## Discussion

Discussion Access the one and only external sync device discovery session on this host device using this method. sharedSession returns nil if the host device doesn’t support external sync devices.

## See Also

### Accessing the shared instance

- [isSupported](avfoundation/avexternalsyncdevice/discoverysession/issupported.md)
