interface FlapSensor
Object representing a flap, that may be open or closed.
Since
6
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! |
getState |
Exposes the property state value abstract fun getState(): FlapState! |
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 |