Interface BrickletRemoteSwitchV2.RemoteStatusCListener

  • All Superinterfaces:
    DeviceListener, java.util.EventListener, TinkerforgeListener
    Enclosing class:
    BrickletRemoteSwitchV2

    public static interface BrickletRemoteSwitchV2.RemoteStatusCListener
    extends DeviceListener
    Returns the system code, device code, switch state (on/off) and number of repeats for remote type C. The repeats are the number of received identical data packets. The longer the button is pressed, the higher the repeat number. The listener is triggered with every repeat. You have to enable the listener with BrickletRemoteSwitchV2.setRemoteConfiguration(int, int, boolean). The number of repeats that you can set in the configuration is the minimum number of repeats that have to be seen before the listener is triggered for the first time.
    • Method Detail

      • remoteStatusC

        void remoteStatusC​(char systemCode,
                           int deviceCode,
                           int switchTo,
                           int repeats)