qisdk / com.aldebaran.qi.sdk / QiContext

QiContext

open class QiContext : ContextWrapper, Callback

Functions

convert

open fun <T : Any!> convert(o: Any!, type: Type!): T

getActuation

Return the robot "Actuation" service.

open fun getActuation(): Actuation!

getActuationAsync

Return the robot "Actuation" service.

open fun getActuationAsync(): Future<Actuation!>!

getAutonomousAbilities

Return the robot "AutonomousAbilities" service.

open fun getAutonomousAbilities(): AutonomousAbilities!

getAutonomousAbilitiesAsync

Return the robot "AutonomousAbilities" service.

open fun getAutonomousAbilitiesAsync(): Future<AutonomousAbilities!>!

getCamera

Return the robot "Camera" service.

open fun getCamera(): Camera!

getCameraAsync

Return the robot "Camera" service.

open fun getCameraAsync(): Future<Camera!>!

getContextFactory

Return the robot "ContextFactory" service.

open fun getContextFactory(): RobotContextFactory!

getContextFactoryAsync

Return the robot "ContextFactory" service.

open fun getContextFactoryAsync(): Future<RobotContextFactory!>!

getConversation

Return the robot "Conversation" service.

open fun getConversation(): Conversation!

getConversationAsync

Return the robot "Conversation" service.

open fun getConversationAsync(): Future<Conversation!>!

getFocus

Return the robot "Focus" service.

open fun getFocus(): Focus!

getFocusAsync

Return the robot "Focus" service.

open fun getFocusAsync(): Future<Focus!>!

getHumanAwareness

Return the robot "HumanAwareness" service.

open fun getHumanAwareness(): HumanAwareness!

getHumanAwarenessAsync

Return the robot "HumanAwareness" service.

open fun getHumanAwarenessAsync(): Future<HumanAwareness!>!

getKnowledge

Return the robot "Knowledge" service.

open fun getKnowledge(): Knowledge!

getKnowledgeAsync

Return the robot "Knowledge" service.

open fun getKnowledgeAsync(): Future<Knowledge!>!

getMapping

Return the robot "Mapping" service.

open fun getMapping(): Mapping!

getMappingAsync

Return the robot "Mapping" service.

open fun getMappingAsync(): Future<Mapping!>!

getPower

Return the robot "Power" service.

open fun getPower(): Power!

getPowerAsync

Return the robot "Power" service.

open fun getPowerAsync(): Future<Power!>!

getRobotContext

open fun getRobotContext(): RobotContext!

getSerializer

open fun getSerializer(): QiSerializer!

getTouch

Return the robot "Touch" service.

open fun getTouch(): Touch!

getTouchAsync

Return the robot "Touch" service.

open fun getTouchAsync(): Future<Touch!>!

hasCallbacks

open fun hasCallbacks(): Boolean

onFocusGained

open fun onFocusGained(robotContext: AnyObject!): Unit

onFocusLost

open fun onFocusLost(): Unit

onFocusRefused

open fun onFocusRefused(reason: String!): Unit

register

open fun register(callbacks: RobotLifecycleCallbacks!): Unit

setDisconnectionListener

open fun setDisconnectionListener(disconnectionListener: QiDisconnectionListener!): Unit

unregister

open fun unregister(callbacks: RobotLifecycleCallbacks!): Unit
open fun unregister(): Unit