qisdk / com.aldebaran.qi.sdk.object.touch / TouchSensor / 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!>!

getName

Exposes the property name value

abstract fun getName(): Future<String!>!

getState

Exposes the property state value

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

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!>!