Contents

CBMutableCharacteristic

A characteristic of a local peripheral’s service.

Declaration

class CBMutableCharacteristic

Overview

CBMutableCharacteristic objects represent the characteristics of a local peripheral’s service. This class adds write access to many of the properties in the CBCharacteristic class, which it inherits from.

You use this class to create a characteristic and to set its properties and permissions as desired. After you create and add a characteristic to a local service, you can publish it (and the service) to the peripheral’s local database with the add(_:) method of the CBPeripheralManager class. After you publish a characteristic, Core Bluetooth caches the characteristic and you can’t make changes to it.

Topics

Creating a Mutable Characteristic

Managing a Mutable Characteristic

See Also

Services