forked from Jibo-Revival-Group/JiboOs
28 lines
906 B
JavaScript
28 lines
906 B
JavaScript
/**
|
|
* @description
|
|
* Context Service for providing on-robot context for cloud and related components.
|
|
*
|
|
* @namespace jibo.context
|
|
*/
|
|
|
|
/**
|
|
* Updates the Skill portion of the Context with CloudSkill data from The Hub
|
|
* @param {jibo.context.SkillData} skill - SkillData provided from the CloudSkill
|
|
*/
|
|
|
|
/**
|
|
* Resets the Skill portion of the Context back to default empty state.
|
|
*/
|
|
|
|
/**
|
|
* Compile on-robot and active cloud skill (if any) context
|
|
* @param {jibo.jetstream.types.HubSpeakerRecogResults} [speakers] - List of speakers we've confidently ID'd.
|
|
* @param {boolean} [omitLoop=false] - `true` if you would like users/Jibo omitted from the LoopContext
|
|
* @returns {Promise<jibo.context.Context>}
|
|
*/
|
|
|
|
/**
|
|
* Retrieves all relevant Loop member information.
|
|
* @returns {Promise<jibo.context.LoopContext>}
|
|
* @private
|
|
*/ |