Package com.zopim.android.sdk.prechat
Class ZopimOfflineFragment
- java.lang.Object
-
- Fragment
-
- com.zopim.android.sdk.prechat.ZopimOfflineFragment
-
- All Implemented Interfaces:
- ConnectionFragment.ConnectionListener
public class ZopimOfflineFragment extends Fragment implements ConnectionFragment.ConnectionListener
Definition of the offline message fragment. Handles submission of offline message when there are no agents available to handle incoming chat request.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
STATE_MENU_ITEM_ENABLED
-
Constructor Summary
Constructors Constructor and Description ZopimOfflineFragment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
onAttach(Activity activity)
void
onConnected()
This will occur in case of chat connectivity recovery.void
onCreate(Bundle savedInstanceState)
void
onCreateOptionsMenu(Menu menu, MenuInflater inflater)
View
onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void
onDisconnected()
This will occur in case of chat connectivity loss.boolean
onOptionsItemSelected(MenuItem item)
void
onPause()
void
onSaveInstanceState(Bundle outState)
void
onStart()
void
onStop()
void
onViewCreated(View view, Bundle savedInstanceState)
void
onViewStateRestored(Bundle savedInstanceState)
-
-
-
Field Detail
-
STATE_MENU_ITEM_ENABLED
public static final java.lang.String STATE_MENU_ITEM_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
onAttach
public void onAttach(Activity activity)
-
onCreate
public void onCreate(Bundle savedInstanceState)
-
onCreateView
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
-
onViewCreated
public void onViewCreated(View view, Bundle savedInstanceState)
-
onViewStateRestored
public void onViewStateRestored(Bundle savedInstanceState)
-
onStart
public void onStart()
-
onPause
public void onPause()
-
onStop
public void onStop()
-
onSaveInstanceState
public void onSaveInstanceState(Bundle outState)
-
onCreateOptionsMenu
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
-
onOptionsItemSelected
public boolean onOptionsItemSelected(MenuItem item)
-
onConnected
public void onConnected()
Description copied from interface:ConnectionFragment.ConnectionListener
This will occur in case of chat connectivity recovery.- Specified by:
onConnected
in interfaceConnectionFragment.ConnectionListener
-
onDisconnected
public void onDisconnected()
Description copied from interface:ConnectionFragment.ConnectionListener
This will occur in case of chat connectivity loss.- Specified by:
onDisconnected
in interfaceConnectionFragment.ConnectionListener
-
-