qisdk / com.aldebaran.qi.sdk.object.actuation / LocalizeAndMap / Async

Async

interface Async

Functions

addOnStartedListener

Add a OnStartedListener

abstract fun addOnStartedListener(onStartedListener: OnStartedListener!): Future<Void!>!

addOnStatusChangedListener

Add a property changed listener for status

abstract fun addOnStatusChangedListener(onStatusChangedListener: OnStatusChangedListener!): Future<Void!>!

dumpMap

Dump the current map, for future use by a Localize action.

abstract fun dumpMap(): Future<ExplorationMap!>!

getStatus

Exposes the property status value

abstract fun getStatus(): Future<LocalizationStatus!>!

removeAllOnStartedListeners

Remove all OnStartedListener

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

removeAllOnStatusChangedListeners

Remove all status changed listeners

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

removeOnStartedListener

Remove a OnStartedListener

abstract fun removeOnStartedListener(onStartedListener: OnStartedListener!): Future<Void!>!

removeOnStatusChangedListener

Remove a property changed listener for status

abstract fun removeOnStatusChangedListener(onStatusChangedListener: OnStatusChangedListener!): Future<Void!>!

run

Start the mapping process. It will run until the future returned by run() is canceled.

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

setOnStartedListener

Set a OnStartedListener

abstract fun setOnStartedListener(onStartedListener: OnStartedListener!): Future<Void!>!

setOnStatusChangedListener

Set a property changed listener for status

abstract fun setOnStatusChangedListener(onStatusChangedListener: OnStatusChangedListener!): Future<Void!>!