qisdk / com.aldebaran.qi.sdk.object.humanawareness / EngageHuman / Async

Async

interface Async

Functions

addOnEngagementPolicyChangedListener

Add a property changed listener for engagementPolicy

abstract fun addOnEngagementPolicyChangedListener(onEngagementPolicyChangedListener: OnEngagementPolicyChangedListener!): Future<Void!>!

addOnHumanIsDisengagingListener

Add a OnHumanIsDisengagingListener

abstract fun addOnHumanIsDisengagingListener(onHumanIsDisengagingListener: OnHumanIsDisengagingListener!): Future<Void!>!

addOnHumanIsEngagedListener

Add a OnHumanIsEngagedListener

abstract fun addOnHumanIsEngagedListener(onHumanIsEngagedListener: OnHumanIsEngagedListener!): Future<Void!>!

addOnStartedListener

Add a OnStartedListener

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

getEngagementPolicy

Exposes the property engagementPolicy value

abstract fun getEngagementPolicy(): Future<EngagementPolicy!>!

removeAllOnEngagementPolicyChangedListeners

Remove all engagementPolicy changed listeners

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

removeAllOnHumanIsDisengagingListeners

Remove all OnHumanIsDisengagingListener

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

removeAllOnHumanIsEngagedListeners

Remove all OnHumanIsEngagedListener

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

removeAllOnStartedListeners

Remove all OnStartedListener

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

removeOnEngagementPolicyChangedListener

Remove a property changed listener for engagementPolicy

abstract fun removeOnEngagementPolicyChangedListener(onEngagementPolicyChangedListener: OnEngagementPolicyChangedListener!): Future<Void!>!

removeOnHumanIsDisengagingListener

Remove a OnHumanIsDisengagingListener

abstract fun removeOnHumanIsDisengagingListener(onHumanIsDisengagingListener: OnHumanIsDisengagingListener!): Future<Void!>!

removeOnHumanIsEngagedListener

Remove a OnHumanIsEngagedListener

abstract fun removeOnHumanIsEngagedListener(onHumanIsEngagedListener: OnHumanIsEngagedListener!): Future<Void!>!

removeOnStartedListener

Remove a OnStartedListener

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

run

Engage the target human with the given policy. The method returns when the robot lost sight of the human. The signal humanIsEngaged is raised when the robot starts to engage the human.

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

setEngagementPolicy

Set the property engagementPolicy value

abstract fun setEngagementPolicy(engagementPolicy: EngagementPolicy!): Future<Void!>!

setOnEngagementPolicyChangedListener

Set a property changed listener for engagementPolicy

abstract fun setOnEngagementPolicyChangedListener(onEngagementPolicyChangedListener: OnEngagementPolicyChangedListener!): Future<Void!>!

setOnHumanIsDisengagingListener

Set a OnHumanIsDisengagingListener

abstract fun setOnHumanIsDisengagingListener(onHumanIsDisengagingListener: OnHumanIsDisengagingListener!): Future<Void!>!

setOnHumanIsEngagedListener

Set a OnHumanIsEngagedListener

abstract fun setOnHumanIsEngagedListener(onHumanIsEngagedListener: OnHumanIsEngagedListener!): Future<Void!>!

setOnStartedListener

Set a OnStartedListener

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