Interface GattNotificationListener


public interface GattNotificationListener
Receives characteristic value changes (notifications and indications) after subscribing via GattCharacteristic.subscribe(GattNotificationListener). Single abstract method so application code can pass a lambda. Always invoked on the EDT.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    valueChanged(GattCharacteristic characteristic, byte[] value)
    Fired on the EDT for every notification/indication received while subscribed.
  • Method Details

    • valueChanged

      void valueChanged(GattCharacteristic characteristic, byte[] value)
      Fired on the EDT for every notification/indication received while subscribed.