Package io.rong.imlib.model
        Class InitOption
- 
                    
                    - All Implemented Interfaces:
 
 public class InitOption
- gusd @Date 2022/12/23 
 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public classInitOption.Builderpublic enumInitOption.AreaCodeData Center Area Code public enumInitOption.HeartbeatLevelHeartbeat Level 
 - 
                                
                            
                                Field SummaryFields Modifier and Type Field Description public BooleanisMainProcesspublic booleanisBackupCorruptedDbpublic StringnaviServerpublic StringfileServerpublic StringstatisticServerpublic StringlogServerpublic InitOption.AreaCodeareaCodepublic Stringenvpublic InitOption.HeartbeatLevelheartbeatLevelpublic final static Creator<InitOption>CREATOR
 - 
                                
                            
                                Constructor SummaryConstructors Constructor Description InitOption(Parcel in)
 - 
                                
                            
                                Method SummaryModifier and Type Method Description BooleanisMainProcess()Gets whether the configuration is for the main process. voidsetMainProcess(Boolean mainProcess)booleanisBackupCorruptedDb()voidsetBackupCorruptedDb(boolean backupCorruptedDb)StringgetNaviServer()Get the navigation service address voidsetNaviServer(String naviServer)StringgetFileServer()Get the file service address voidsetFileServer(String fileServer)StringgetStatisticServer()Get the data upload URL voidsetStatisticServer(String statisticServer)StringgetLogServer()voidsetLogServer(String logServer)InitOption.AreaCodegetAreaCode()voidsetAreaCode(InitOption.AreaCode areaCode)StringgetEnv()voidsetEnv(String env)Set environment InitOption.HeartbeatLevelgetHeartbeatLevel()voidsetHeartbeatLevel(InitOption.HeartbeatLevel heartbeatLevel)voidwriteToParcel(Parcel dest, int flags)intdescribeContents()booleanisEnablePush()Get whether push notification configuration is enabled booleanisEnableSyncEmptyTopConversation()voidenableSyncEmptyTopConversation(boolean enable)StringtoString()voidsetEnablePush(boolean enablePush)- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        isMainProcessBoolean isMainProcess() Gets whether the configuration is for the main process. If isMainProcess is null, the SDK determines the process. 
 - 
                                        setMainProcessvoid setMainProcess(Boolean mainProcess) 
 - 
                                        isBackupCorruptedDbboolean isBackupCorruptedDb() 
 - 
                                        setBackupCorruptedDbvoid setBackupCorruptedDb(boolean backupCorruptedDb) 
 - 
                                        getNaviServerString getNaviServer() Get the navigation service address 
 - 
                                        setNaviServervoid setNaviServer(String naviServer) 
 - 
                                        getFileServerString getFileServer() Get the file service address 
 - 
                                        setFileServervoid setFileServer(String fileServer) 
 - 
                                        getStatisticServerString getStatisticServer() Get the data upload URL 
 - 
                                        setStatisticServervoid setStatisticServer(String statisticServer) 
 - 
                                        getLogServerString getLogServer() 
 - 
                                        setLogServervoid setLogServer(String logServer) 
 - 
                                        getAreaCodeInitOption.AreaCode getAreaCode() 
 - 
                                        setAreaCodevoid setAreaCode(InitOption.AreaCode areaCode) 
 - 
                                        getEnvString getEnv() 
 - 
                                        setEnvvoid setEnv(String env) Set environment - Parameters:
- env- Environment
- Since:
- 5.8.2 
 
 - 
                                        getHeartbeatLevelInitOption.HeartbeatLevel getHeartbeatLevel() 
 - 
                                        setHeartbeatLevelvoid setHeartbeatLevel(InitOption.HeartbeatLevel heartbeatLevel) 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) 
 - 
                                        describeContentsint describeContents() 
 - 
                                        isEnablePushboolean isEnablePush() Get whether push notification configuration is enabled 
 - 
                                        isEnableSyncEmptyTopConversationboolean isEnableSyncEmptyTopConversation() 
 - 
                                        enableSyncEmptyTopConversationvoid enableSyncEmptyTopConversation(boolean enable) 
 - 
                                        toStringString toString() 
 - 
                                        setEnablePushvoid setEnablePush(boolean enablePush) 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-