---
title: "withSDPServiceRecordRef(_:)"
framework: IOBluetooth
role: symbol
role_heading: Type Method
path: "iobluetooth/iobluetoothsdpservicerecord/withsdpservicerecordref(_:)"
---

# withSDPServiceRecordRef(_:)

Method call to convert an IOBluetoothSDPServiceRecordRef into an IOBluetoothSDPServiceRecord *.

## Declaration

```swift
class func withSDPServiceRecordRef(_ sdpServiceRecordRef: IOBluetoothSDPServiceRecordRef!) -> Self!
```

## Parameters

- `sdpServiceRecordRef`: IOBluetoothSDPServiceRecordRef for which an IOBluetoothSDPServiceRecord * is desired.

## Return Value

Return Value Returns the IOBluetoothSDPServiceRecord * for the given IOBluetoothSDPServiceRecordRef.
