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 the address is set as cn.xxx.com, the SDK will automatically 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!

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 is mandatory when using a dedicated cloud.