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

# getDataElement()

Returns the data element for the target service attribute.

## Declaration

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

## Return Value

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