---
title: DDDeviceProtocolString
framework: DeviceDiscoveryExtension
role: symbol
role_heading: Structure
path: devicediscoveryextension/dddeviceprotocolstring
---

# DDDeviceProtocolString

String values for the manner in which an app interacts with a device.

## Declaration

```swift
struct DDDeviceProtocolString
```

## Discussion

Discussion When an app creates a device discovery extension to stream content to a third-party media receiver, the protocol is Discovery and Launch (DIAL), as designated by the DDDevice.Protocol.dial option.

## Topics

### Creating a device protocol string

- [init(rawValue:)](devicediscoveryextension/dddeviceprotocolstring/init(rawvalue:).md)

### Specifying a device protocol string

- [dial](devicediscoveryextension/dddeviceprotocolstring/dial.md)
- [invalid](devicediscoveryextension/dddeviceprotocolstring/invalid.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Device information

- [DDDevice](devicediscoveryextension/dddevice.md)
- [DDDevice.Category](devicediscoveryextension/dddevice/category-swift.enum.md)
- [DDDeviceState](devicediscoveryextension/dddevicestate.md)
- [DDDeviceCategoryToString(_:)](devicediscoveryextension/dddevicecategorytostring(_:).md)
- [DDDeviceStateToString(_:)](devicediscoveryextension/dddevicestatetostring(_:).md)
- [DDDevice.Protocol](devicediscoveryextension/dddevice/protocol-swift.enum.md)
- [DDDeviceProtocolToString(_:)](devicediscoveryextension/dddeviceprotocoltostring(_:).md)
- [DDDeviceMediaPlaybackStateToString(_:)](devicediscoveryextension/dddevicemediaplaybackstatetostring(_:).md)
