---
title: "withSDPDataElementRef(_:)"
framework: IOBluetooth
role: symbol
role_heading: Type Method
path: "iobluetooth/iobluetoothsdpdataelement/withsdpdataelementref(_:)"
---

# withSDPDataElementRef(_:)

Method call to convert an IOBluetoothSDPDataElementRef into an IOBluetoothSDPDataElement *.

## Declaration

```swift
class func withSDPDataElementRef(_ sdpDataElementRef: IOBluetoothSDPDataElementRef!) -> Self!
```

## Parameters

- `sdpDataElementRef`: IOBluetoothSDPDataElementRef for which an IOBluetoothSDPDataElement * is desired.

## Return Value

Return Value Returns the IOBluetoothSDPDataElement * for the given IOBluetoothSDPDataElementRef.
