---
title: getValue()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/iobluetoothsdpdataelement/getvalue()
---

# getValue()

Returns the object value of the data element.

## Declaration

```swift
func getValue() -> NSObject!
```

## Return Value

Return Value Returns the object value of the target data element.

## Discussion

Discussion The value returned may be an NSNumber, NSString, NSData, NSArray or IOBluetoothSDPDataElement depending on the type of the data element.
