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.

Only Essential Cookies
Accept All

ClientParas

Expand

Class Info

public class ClientParas

Parameters for the app to initiate the Navi SDK.

Public Method Summary

Expand

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.

Public Methods

setEnv

Expand

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

Expand

Name

Description

env

Indicates whether the network is the live network environment.

  • true: yes
  • false: no

setHwPhone

Expand

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

Expand

Name

Description

hwPhone

Indicates whether the device is a Huawei phone.

  • true: yes
  • false: no