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.

Methods

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

Method details

valueChanged

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