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 android.app.Service#stopService(android.content.Intent) or start service with a stop ChatActions.ACTION_STOP_WIDGET_SERVICE

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

    See Also:
    ZopimChatApi.endChat()
    • Constructor Detail

      • ChatWidgetService

        public ChatWidgetService()
    • Method Detail

      • 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()