Class ConnectionObserver
- java.lang.Object
- 
- com.zopim.android.sdk.data.observers.ConnectionObserver
 
- 
- All Implemented Interfaces:
- java.util.Observer
 
 
 public abstract class ConnectionObserver extends java.lang.Object implements java.util.ObserverAbstract definition of the observer that listens to broadcasts fromConnectionPathobservable
- 
- 
Constructor SummaryConstructors Constructor and Description ConnectionObserver()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description protected abstract voidupdate(Connection connection)Delivers the broadcast fromConnectionPathobservablevoidupdate(java.util.Observable observable, java.lang.Object object)
 
- 
- 
- 
Method Detail- 
updatepublic final void update(java.util.Observable observable, java.lang.Object object)- Specified by:
- updatein interface- java.util.Observer
 
 - 
updateprotected abstract void update(Connection connection) Delivers the broadcast fromConnectionPathobservableThis broadcast arrives on a non-UI thread. Keep in mind that if updating UI elements you need to do so on the main thread using android.app.Activity#runOnUiThread(Runnable)orandroid.os.Looper#getMainLooper().- Parameters:
- connection- The current connection state
 
 
- 
 
-