public class TouchSensorEvent extends SensorEvent<TouchSensor>
source
Constructor and Description |
---|
TouchSensorEvent(SensorEvent<SensorValue> sensorEvent)
Creates a TouchSensorEvent from a generic
SensorEvent , and wraps
the SensorValue in the appropriate subclass. |
getInput, getNewValue, getOldValue, getValue, toString
getSource
public TouchSensorEvent(SensorEvent<SensorValue> sensorEvent)
SensorEvent
, and wraps
the SensorValue
in the appropriate subclass.sensorEvent
- generic sensor eventCopyright © 2016–2023. All rights reserved.