qisdk / com.aldebaran.qi.sdk.object.autonomousabilities / AutonomousAbilityHolder

AutonomousAbilityHolder

interface AutonomousAbilityHolder

An AutonomousAbilityHolder represents an autonomous ability being taken from the AutonomousAbilities service. It serves only once, and emits released() whenever the autonomous ability is released. An AutonomousAbilityHolder that was released is invalid.

Since
1

Types

Async

interface Async

OnReleasedListener

Listener for released signal

interface OnReleasedListener

Functions

addOnReleasedListener

Add a OnReleasedListener

abstract fun addOnReleasedListener(onReleasedListener: OnReleasedListener!): Unit

async

abstract fun async(): Async!

release

Release the ability.

abstract fun release(): Unit

removeAllOnReleasedListeners

Remove all OnReleasedListener

abstract fun removeAllOnReleasedListeners(): Unit

removeOnReleasedListener

Remove a OnReleasedListener

abstract fun removeOnReleasedListener(onReleasedListener: OnReleasedListener!): Unit

setOnReleasedListener

Set a OnReleasedListener

abstract fun setOnReleasedListener(onReleasedListener: OnReleasedListener!): Unit