Obtaining the Directories of the Skill Workspaces
This API is used to obtain the path of the directory where the skill workspace is located. The path ends with a slash (/). You are not advised to write data in the skill installation directory. Therefore, you need to specify the writable workspace for each skill. If the HiLens Framework does not obtain the workspace location, the current path is returned.
- API calling
hilens.get_workspace_path()
- Return value
A character string is returned. The absolute path of the working directory is /.../data/. If the operation fails, an empty character string is returned.
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