---
title: type
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nwbonjourserviceendpoint/type
---

# type

The endpoint’s Bonjour service type.

## Declaration

```swift
var type: String { get }
```

## Discussion

Discussion For example, the service type could be "_music._tcp".

## See Also

### Getting endpoint properties

- [name](networkextension/nwbonjourserviceendpoint/name.md)
- [domain](networkextension/nwbonjourserviceendpoint/domain.md)
