<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreBluetooth",
  "identifier" : "/documentation/CoreBluetooth/CBDescriptor/value",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Bluetooth"
    ],
    "preciseIdentifier" : "c:objc(cs)CBDescriptor(py)value"
  },
  "title" : "value"
}
-->

# value

The value of the descriptor.

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

## Discussion

The documentation for [`CBUUID`](/documentation/CoreBluetooth/CBUUID) details the value types for the various descriptor types.

You can read the value of a descriptor by calling the [`readValue(for:)`](/documentation/CoreBluetooth/CBPeripheral/readValue(for:)-91hhp) method of the [`CBPeripheral`](/documentation/CoreBluetooth/CBPeripheral) class. You can write the value of a descriptor by calling the [`writeValue(_:for:)`](/documentation/CoreBluetooth/CBPeripheral/writeValue(_:for:)) method of the [`CBPeripheral`](/documentation/CoreBluetooth/CBPeripheral) class. You can’t, however, use the [`writeValue(_:for:)`](/documentation/CoreBluetooth/CBPeripheral/writeValue(_:for:)) method to write the value of a client configuration descriptor ([`CBUUIDClientCharacteristicConfigurationString`](/documentation/CoreBluetooth/CBUUIDClientCharacteristicConfigurationString)). Instead, you use the [`setNotifyValue(_:for:)`](/documentation/CoreBluetooth/CBPeripheral/setNotifyValue(_:for:)) method of the [`CBPeripheral`](/documentation/CoreBluetooth/CBPeripheral) class to configure client indications or notifications of a characteristic’s value on a server.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)