Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HUAWEI HMS Core
Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.
| class info |
| com.huawei.hms.mlsdk.model.download.MLModelDownloadStrategy |
| Download condition configurator of offline models.The following conditions can be configured: 1. Charging status; 2. Wi-Fi connection status; 3. Device status (idle or not) |
| Return type | Method name |
| boolean | isChargingNeed() |
| boolean | isDeviceIdleNeed() |
| boolean | isWifiNeed() |
| Method |
| public boolean isChargingNeed() |
| Requires the device to be in charging state or not. |
Return
| Type | desc |
| boolean | true if yes; false otherwise. |
| Method |
| public boolean isDeviceIdleNeed() |
| Requires the device to be in idle state or not. |
Return
| Type | desc |
| boolean | true if yes; false otherwise. |
| Method |
| public boolean isWifiNeed() |
| Requires the device to have Wi-Fi connection or not. |
Return
| Type | desc |
| boolean | true if yes; false otherwise. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.