Interface BrickletRemoteSwitchV2.RemoteStatusAListener

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

    public static interface BrickletRemoteSwitchV2.RemoteStatusAListener
    extends DeviceListener
    Returns the house code, receiver code, switch state (on/off) and number of repeats for remote type A. 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

      • remoteStatusA

        void remoteStatusA​(int houseCode,
                           int receiverCode,
                           int switchTo,
                           int repeats)