Diagnostic Sample

2026-08-06Loading rating…

Sample Introduction

The Diagnostic module is to provide more friendly and abundant diagnosis information for users. Diagnostic information comes from HMS module.

  • HMS module will present device health information, for example, Code, warningLevel, title, description and so on. For details to check IDeviceHealthManager class.

This sample shows the complete interface and an example of the interface calling process.

Interface Calling Process

The following figure shows a complete interface display and an example of the interface calling process. For detailed usage, please check the API documentationopen in new window of Mobile SDK.

HMS

IDeviceHealthManageropen in new window class is used to manage device health. Users can get and monitor the health information of each module. For example, Camera overheated, Flight control system error, Battery Maintenance Required, etc.

HMS.png

Sample Acquisition

Go to Diagnostic Sample Codeopen in new window.

Last Updated: