Obtaining Skill Configurations
This section describes how to obtain the skill configurations, which are the JSON objects (jsoncpp) parsed from the content in the skill configuration files. Note that GetSkillConfig() reads the configuration file and parses it into a JSON object each time. Therefore, if you need to read multiple configuration items, save the return values as variables and do not frequently invoke GetSkillConfig().
API Calling
Json::Value hilens::GetSkillConfig()
Return Value
The JSON object of the skill configurations is returned. If the parsing fails, an empty JSON::Value is returned. You can use .empty() to check whether the JSON::Value is empty.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot