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.
|