Interface ReaderDevice.OnLightsListener

Enclosing class:
ReaderDevice

public static interface ReaderDevice.OnLightsListener
Interface definition for lights state information callback
  • Method Details

    • onLightsOnCompleted

      void onLightsOnCompleted(ReaderDevice reader, Boolean on, Throwable error)
      Called as lights state information is available
      Parameters:
      reader - The caller ReaderDevice instance
      on - true, if lights are on
      error - The underlying cause of the failure or null if there was no error