qisdk / com.aldebaran.qi.sdk.object.context / RobotContext / Async

Async

interface Async

Functions

addOnFocusChangedListener

Add a property changed listener for focus

abstract fun addOnFocusChangedListener(onFocusChangedListener: OnFocusChangedListener!): Future<Void!>!

addOnIdentityChangedListener

Add a property changed listener for identity

abstract fun addOnIdentityChangedListener(onIdentityChangedListener: OnIdentityChangedListener!): Future<Void!>!

getFocus

Exposes the property focus value

abstract fun getFocus(): Future<FocusOwner!>!

getIdentity

Exposes the property identity value

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

removeAllOnFocusChangedListeners

Remove all focus changed listeners

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

removeAllOnIdentityChangedListeners

Remove all identity changed listeners

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

removeOnFocusChangedListener

Remove a property changed listener for focus

abstract fun removeOnFocusChangedListener(onFocusChangedListener: OnFocusChangedListener!): Future<Void!>!

removeOnIdentityChangedListener

Remove a property changed listener for identity

abstract fun removeOnIdentityChangedListener(onIdentityChangedListener: OnIdentityChangedListener!): Future<Void!>!

setFocus

Set the property owner value

abstract fun setFocus(owner: FocusOwner!): Future<Void!>!

setIdentity

Set the property id value

abstract fun setIdentity(id: String!): Future<Void!>!

setOnFocusChangedListener

Set a property changed listener for focus

abstract fun setOnFocusChangedListener(onFocusChangedListener: OnFocusChangedListener!): Future<Void!>!

setOnIdentityChangedListener

Set a property changed listener for identity

abstract fun setOnIdentityChangedListener(onIdentityChangedListener: OnIdentityChangedListener!): Future<Void!>!