Contents

discoverDescriptors(for:)

Discovers the descriptors of a characteristic.

Declaration

func discoverDescriptors(for characteristic: CBCharacteristic)

Parameters

  • characteristic:

    The characteristic whose descriptors you want to discover.

Discussion

When the peripheral discovers one or more descriptors of the specified characteristic, it calls the peripheral(_:didDiscoverDescriptorsFor:error:) method of its delegate object. After the peripheral discovers the descriptors of the characteristic, you can access them through the characteristic’s descriptors property.

See Also

Discovering Characteristics and Descriptors