@QiStruct open class TouchState
Description of a touch sensor state.
Since
1
<init> |
Create a new TouchState(touched: Boolean, time: Long) |
equals |
open fun equals(other: Any?): Boolean |
getTime |
The last time the sensor state changed. open fun getTime(): Long |
getTouched |
The current state of the sensor: touched or not. open fun getTouched(): Boolean |
hashCode |
open fun hashCode(): Int |
setTime |
Setter for time The last time the sensor state changed. open fun setTime(time: Long): Unit |
setTouched |
Setter for touched The current state of the sensor: touched or not. open fun setTouched(touched: Boolean): Unit |
toString |
open fun toString(): String |