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

# getTypeDescriptor()

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

## Declaration

```swift
func getTypeDescriptor() -> BluetoothSDPDataElementTypeDescriptor
```

## Return Value

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