Help Center> Huawei HiLens> Developer Guide> Hard Example Upload Module> Updating Hard Example Configurations
Updated on 2022-02-22 GMT+08:00

Updating Hard Example Configurations

This API is used to update hard example configurations to the hard example configuration file, and update the hard example upload status on the cloud based on the input.

  • API calling

    hilens.set_hard_sample_config(conf)

  • Parameter description
    Table 1 Parameters

    Parameter

    Mandatory

    Type

    Description

    conf

    Yes

    json

    Hard example configuration to be updated

  • Return value

    HiLensEC error code. If the operation is successful, 0 is returned. Otherwise, the operation fails. For details, see Error Codes.