setServerInfo

public static void setServerInfo(String naviServer, String fileServer)

Sets the navigation server and media server addresses for private deployment.

Supports setting addresses in the format of http://cn.xxx.com, https://cn.xxx.com, or cn.xxx.com. If cn.xxx.com is provided, the SDK will assemble it into the http:// protocol format. Multiple navigation addresses are supported and must be separated by semicolons (;). Note: This method must be used before init!

This interface has the same effect as the naviServer and fileServer parameters passed in InitOption within init. Either method of setting will take effect.

Since

5.0.0

Deprecated

This method is deprecated. Please use init instead.

Parameters

naviServer

The navigation server address for private deployment.

fileServer

The media server address for private deployment, i.e., the upload address for files and images. This must be filled when using a private cloud.