---
title: getIDDataElement()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/iobluetoothsdpserviceattribute/getiddataelement()
---

# getIDDataElement()

Returns the data element representing the attribute ID for the target service attribute.

## Declaration

```swift
func getIDDataElement() -> IOBluetoothSDPDataElement!
```

## Return Value

Return Value Returns the data element representing the attribute ID for the target service attribute.
