Interface TableEntryListener

All Superinterfaces:
EntryListenerFlags
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface TableEntryListener
extends EntryListenerFlags
A listener that listens to changes in values in a NetworkTable.
  • Method Details

    • valueChanged

      void valueChanged​(NetworkTable table, String key, NetworkTableEntry entry, NetworkTableValue value, int flags)
      Called when a key-value pair is changed in a NetworkTable.
      Parameters:
      table - the table the key-value pair exists in
      key - the key associated with the value that changed
      entry - the entry associated with the value that changed
      value - the new value
      flags - update flags; for example, EntryListenerFlags.kNew if the key did not previously exist in the table