Help Center> Huawei HiLens> Developer Guide> Initialization> Releasing HiLens Framework Resources
Updated on 2022-02-22 GMT+08:00

Releasing HiLens Framework Resources

This API is used to terminate the HiLens Framework. When the program ends, this API is called to release related resources.

  • API calling

    hilens.terminate()

  • Return value

    The value 0 indicates that the resources are released successfully. Other values indicate that the resources fail to be released.