---
title: "makeListenerEndpoint(forServiceName:itemURL:)"
framework: Finder Sync
role: symbol
role_heading: Instance Method
platforms: [macOS 10.10+]
path: "findersync/fifindersyncprotocol/makelistenerendpoint(forservicename:itemurl:)"
---

# makeListenerEndpoint(forServiceName:itemURL:)

## Declaration

```swift
optional func makeListenerEndpoint(forServiceName serviceName: NSFileProviderServiceName, itemURL: URL) throws -> NSXPCListenerEndpoint
```
