Package com.tinkerforge
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 withBrickletRemoteSwitchV2.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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
remoteStatusC(char systemCode, int deviceCode, int switchTo, int repeats)
-