Package com.zopim.android.sdk.chatlog
Class ConnectionFragment
- java.lang.Object
-
- Fragment
-
- com.zopim.android.sdk.chatlog.ConnectionFragment
-
public class ConnectionFragment extends FragmentDefinition of the non-UI connection fragment. Handles network connectivity notifications. Embed this fragment in your activity or fragment and implementConnectionFragment.ConnectionListenerto get notified of connectivity events.Subscribe to toast events by implementing
ConnectionFragment.ConnectionListenerin the hostandroid.app.Activityorandroid.support.v4.app.Fragmentwhere this fragment is added.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interfaceConnectionFragment.ConnectionListenerInterface definition of a chat connection event listener.
-
Constructor Summary
Constructors Constructor and Description ConnectionFragment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidonAttach(Activity activity)voidonStart()voidonStop()
-