Help Center/ Huawei HiLens/ SDK Reference/ Hard Example Upload/ Updating Hard Example Configurations
Updated on 2023-06-15 GMT+08:00

Updating Hard Example Configurations

This section describes how to update hard example configurations in the hard example configuration file and update the hard example upload status on the cloud based on the input.

API Calling

HiLensEC SetHardSampleConfig(const std::string &confStr)

Table 1 Parameters

Parameter

Description

confStr

Hard example configuration to be updated. The value must be a JSON string.

Return Value

HiLensEC error code. If the operation is successful, 0 is returned. Otherwise, the operation fails.