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

RobotContext

interface RobotContext

The context object gathers together all the handles and tokens that authorize an action to be effectively executed on a robot.

Since
1

Types

Async

interface Async

OnFocusChangedListener

Listener for focus property changed event

interface OnFocusChangedListener

OnIdentityChangedListener

Listener for identity property changed event

interface OnIdentityChangedListener

Functions

addOnFocusChangedListener

Add a property changed listener for focus

abstract fun addOnFocusChangedListener(onFocusChangedListener: OnFocusChangedListener!): Unit

addOnIdentityChangedListener

Add a property changed listener for identity

abstract fun addOnIdentityChangedListener(onIdentityChangedListener: OnIdentityChangedListener!): Unit

async

abstract fun async(): Async!

getFocus

Exposes the property focus value

abstract fun getFocus(): FocusOwner!

getIdentity

Exposes the property identity value

abstract fun getIdentity(): String!

removeAllOnFocusChangedListeners

Remove all focus changed listeners

abstract fun removeAllOnFocusChangedListeners(): Unit

removeAllOnIdentityChangedListeners

Remove all identity changed listeners

abstract fun removeAllOnIdentityChangedListeners(): Unit

removeOnFocusChangedListener

Remove a property changed listener for focus

abstract fun removeOnFocusChangedListener(onFocusChangedListener: OnFocusChangedListener!): Unit

removeOnIdentityChangedListener

Remove a property changed listener for identity

abstract fun removeOnIdentityChangedListener(onIdentityChangedListener: OnIdentityChangedListener!): Unit

setFocus

Set the property owner value

abstract fun setFocus(owner: FocusOwner!): Unit

setIdentity

Set the property id value

abstract fun setIdentity(id: String!): Unit

setOnFocusChangedListener

Set a property changed listener for focus

abstract fun setOnFocusChangedListener(onFocusChangedListener: OnFocusChangedListener!): Unit

setOnIdentityChangedListener

Set a property changed listener for identity

abstract fun setOnIdentityChangedListener(onIdentityChangedListener: OnIdentityChangedListener!): Unit