interface TouchSensor
Object representing a sensor that detects when the robot is touched.
Since
1
Async |
interface Async |
OnStateChangedListener |
Listener for state property changed event interface OnStateChangedListener |
addOnStateChangedListener |
Add a property changed listener for state abstract fun addOnStateChangedListener(onStateChangedListener: OnStateChangedListener!): Unit |
async |
abstract fun async(): Async! |
getFrame |
Exposes the property frame value abstract fun getFrame(): Frame! |
getName |
Exposes the property name value abstract fun getName(): String! |
getState |
Exposes the property state value abstract fun getState(): TouchState! |
removeAllOnStateChangedListeners |
Remove all state changed listeners abstract fun removeAllOnStateChangedListeners(): Unit |
removeOnStateChangedListener |
Remove a property changed listener for state abstract fun removeOnStateChangedListener(onStateChangedListener: OnStateChangedListener!): Unit |
setOnStateChangedListener |
Set a property changed listener for state abstract fun |