qisdk / com.aldebaran.qi.sdk.object.power / FlapSensor / Async

Async

interface Async

Functions

addOnStateChangedListener

Add a property changed listener for state

abstract fun addOnStateChangedListener(onStateChangedListener: OnStateChangedListener!): Future<Void!>!

getFrame

Exposes the property frame value

abstract fun getFrame(): Future<Frame!>!

getState

Exposes the property state value

abstract fun getState(): Future<FlapState!>!

removeAllOnStateChangedListeners

Remove all state changed listeners

abstract fun removeAllOnStateChangedListeners(): Future<Void!>!

removeOnStateChangedListener

Remove a property changed listener for state

abstract fun removeOnStateChangedListener(onStateChangedListener: OnStateChangedListener!): Future<Void!>!

setOnStateChangedListener

Set a property changed listener for state

abstract fun setOnStateChangedListener(onStateChangedListener: OnStateChangedListener!): Future<Void!>!