Help Center> Huawei HiLens> SDK Reference> Resource Management> Obtaining the Directories of the Skill Workspaces
Updated on 2023-06-15 GMT+08:00

Obtaining the Directories of the Skill Workspaces

This section describes how to return the path of a skill workspace directory.

Due to problems such as certificate verification, writing operations are not allowed in the skill installation directory. Therefore, you need to specify the writable workspace of each skill.

API Calling

std::string hilens::GetWorkspacePath()

Return Value

If the operation is successful, the path of a skill workspace (with a slash (/) at the end) is returned. Otherwise, a null character string is returned.