---
title: value
framework: corebluetooth
role: symbol
role_heading: Instance Property
path: corebluetooth/cbdescriptor/value
---

# value

The value of the descriptor.

## Declaration

```swift
var value: Any? { get }
```

## Discussion

Discussion The documentation for CBUUID details the value types for the various descriptor types. You can read the value of a descriptor by calling the readValue(for:) method of the CBPeripheral class. You can write the value of a descriptor by calling the writeValue(_:for:) method of the CBPeripheral class. You can’t, however, use the writeValue(_:for:) method to write the value of a client configuration descriptor (CBUUIDClientCharacteristicConfigurationString). Instead, you use the setNotifyValue(_:for:) method of the CBPeripheral class to configure client indications or notifications of a characteristic’s value on a server.
