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

# getSizeDescriptor()

Returns the SDP spec defined data element size descriptor for the target data element.

## Declaration

```swift
func getSizeDescriptor() -> BluetoothSDPDataElementSizeDescriptor
```

## Return Value

Return Value Returns the size descriptor for the target data element.
