CGA_Class_Protocol_UpdateCharacteristic

public protocol CGA_Class_Protocol_UpdateCharacteristic : CGA_Class_Protocol

This protocol defines an interface for a message that indicates that a Characteristic object needs to be refreshed. It also specifies a method to “clear” the stored Descriptors

  • This eliminates all of the stored data.

    Declaration

    Swift

    func clear()
  • updateThisCharacteristic(_:) Default implementation

    This is called to inform an instance that a Characteristic downstream changed.

    Default Implementation

    Default simply passes the buck.

    Declaration

    Swift

    func updateThisCharacteristic(_ characteristic: CGA_Bluetooth_Characteristic)

    Parameters

    characteristic

    The Characteristic wrapper instance that changed.