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.
HMS Core
Class Info |
|---|
public class ClientParas Parameters for the app to initiate the Navi SDK. |
Qualifier and Type | Method Name and Description |
|---|---|
void | setEnv(boolean env) Sets whether the network is the live network environment. |
void | setHwPhone(boolean hwPhone) Sets whether the device is a Huawei phone. |
Method |
|---|
public void setEnv(boolean env) Sets whether the environment is the live network environment. This method must be called before any navigation method is called. You are advised to call this method in application. |
Parameters
Name | Description |
|---|---|
env | Indicates whether the network is the live network environment.
|
Method |
|---|
public void setHwPhone(boolean hwPhone) Sets whether the device is a Huawei phone. This method must be called before any navigation method is called. You are advised to call this method in application. |
Parameters
Name | Description |
|---|---|
hwPhone | Indicates whether the device is a Huawei phone.
|
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.