Initializing the HiLens Framework
This section describes how to initialize the HiLens Framework. Before calling other APIs of HiLens Framework, you need to perform global initialization.
API Calling
HiLensEC hilens::Init(const std::string & verify)
Parameter Description
Parameter |
Description |
---|---|
verify |
The value must be the same as that of Verification Value you entered in the Basic Information area when you create a skill on the HiLens management console. If they are different, HiLens Framework forcibly stops the skill. |
Return Values
If the return value is 0, the operation is successful. Otherwise, the operation fails. For details about the failure response parameters, see Error Codes.
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