Builder

public class Builder

Constructors

Link copied to clipboard
public void InitOption.Builder()

Functions

Link copied to clipboard
public InitOption build()
Link copied to clipboard
public InitOption.Builder enablePush(boolean enablePush)
Whether to enable push notifications
Link copied to clipboard
Whether to enable the ability to sync empty pinned conversations Note: If not set, the default value is false, meaning empty pinned conversations will not be synced.
Link copied to clipboard
Link copied to clipboard
public InitOption.Builder setEnv(String env)
Link copied to clipboard
public InitOption.Builder setFileServer(String fileServer)
Set the file service address For private cloud only If setting fileServer, it must be a valid server address: 1.
Link copied to clipboard
Link copied to clipboard
public InitOption.Builder setIsBackupCorruptedDb(boolean isBackupCorruptedDb)
Link copied to clipboard
public InitOption.Builder setLogServer(String logServer)
Link copied to clipboard
public InitOption.Builder setMainProcess(Boolean isMainProcess)
Sets whether the current process is the main process.
Link copied to clipboard
public InitOption.Builder setNaviServer(String naviServer)
Set the navigation service address
Link copied to clipboard
public InitOption.Builder setStatisticServer(String statisticServer)
Sets the data upload address