Class ChatWidgetService

  • public class ChatWidgetService
    extends Service
    Definition of a chat widget UI service.

    This widget will be presented when chat is exited but not ended. It allows a visitor to get back to the ongoing chat by tapping the widget.

    It broadcasts ChatActions.ACTION_RESUME_CHAT when widget is tapped on. Receive that broadcast to get notified when ongoing chat UI needs to be presented. To dismiss the widget use either or start service with a stop ChatActions.ACTION_STOP_WIDGET_SERVICE

    Enabled by default, but can be disabled via ChatWidgetService.disable()

    See Also:
    • Constructor Detail

      • ChatWidgetService

        public ChatWidgetService()
    • Method Detail

      • startService

        public static void startService(Context context)
      • stopService

        public static boolean stopService(Context context)
      • onBind

        public IBinder onBind(Intent intent)
      • onCreate

        public void onCreate()
      • onStartCommand

        public int onStartCommand(Intent intent,
                                  int flags,
                                  int startId)
      • onConfigurationChanged

        public void onConfigurationChanged(Configuration newConfig)
      • onDestroy

        public void onDestroy()