Package io.rong.push.rongpush
        Class PushConnectivityManager
- 
                    
                    - All Implemented Interfaces:
 
 public class PushConnectivityManager
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public enumPushConnectivityManager.NetworkType
 - 
                                
                            
                                Field SummaryFields Modifier and Type Field Description public PushConnectivityManager.NetworkTypenetworkType
 - 
                                
                            
                                Method SummaryModifier and Type Method Description PushConnectivityManager.NetworkTypegetNetworkType()voidsetNetworkType(PushConnectivityManager.NetworkType networkType)static PushConnectivityManagergetInstance()booleanisInitialized()synchronized voidinit(Context context, String deviceId, String appKey)voidsetServerDomain(String domain)voidconnect()voidping()voidcustomPing()voidonPingTimeout()voidsendRegistrationIDToServer(String regInfo)voiddisconnect()voidstartPingTimer()Starts the ping command timeout timer. voidstopPingTimer()Stop the ping command timer. voidsetNextHeartbeat()Set the next heartbeat. voidcancelHeartbeat()Disables the heartbeat. voiduninit()- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        getNetworkTypePushConnectivityManager.NetworkType getNetworkType() 
 - 
                                        setNetworkTypevoid setNetworkType(PushConnectivityManager.NetworkType networkType) 
 - 
                                        getInstancestatic PushConnectivityManager getInstance() 
 - 
                                        isInitializedboolean isInitialized() 
 - 
                                        initsynchronized void init(Context context, String deviceId, String appKey) 
 - 
                                        setServerDomainvoid setServerDomain(String domain) 
 - 
                                        connectvoid connect() 
 - 
                                        pingvoid ping() 
 - 
                                        customPingvoid customPing() 
 - 
                                        onPingTimeoutvoid onPingTimeout() 
 - 
                                        sendRegistrationIDToServervoid sendRegistrationIDToServer(String regInfo) 
 - 
                                        disconnectvoid disconnect() 
 - 
                                        startPingTimervoid startPingTimer() Starts the ping command timeout timer. 
 - 
                                        stopPingTimervoid stopPingTimer() Stop the ping command timer. 
 - 
                                        setNextHeartbeatvoid setNextHeartbeat() Set the next heartbeat. 
 - 
                                        cancelHeartbeatvoid cancelHeartbeat() Disables the heartbeat. 
 - 
                                        uninitvoid uninit() 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-