Package 

Class EmilyChatEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class EmilyChatEvent.Ready

      The web widget finished booting and is ready to receive SET_ATTRIBUTES / OPEN / CLOSE / LOGOUT messages.

      public class EmilyChatEvent.CloseRequest

      The user tapped the close / minimize control inside the chat header, or the page otherwise asked its native shell to dismiss.

      Unlike iOS (where the host decides), EmilyChatActivity finishes itself automatically on this event so the user never gets stuck on a blank WebView. The event is still delivered first so host apps can run analytics / cleanup.

      public final class EmilyChatEvent.BridgeError

      A non-fatal error reported by the web bridge. stage is a coarse identifier ("init", "setAttributes", "render", …) supplied by the JS bridge. message is human-readable.

      public final class EmilyChatEvent.LoadFailed

      The WebView itself failed to load the bundle (DNS, TLS, HTTP error, offline…).