-
public class EmilyChatEventEvents the SDK emits back to the host app via EmilyChat.onEvent.
All events are delivered on the main (UI) thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEmilyChatEvent.ReadyThe web widget finished booting and is ready to receive
SET_ATTRIBUTES/OPEN/CLOSE/LOGOUTmessages.public classEmilyChatEvent.CloseRequestThe 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 classEmilyChatEvent.BridgeErrorA 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 classEmilyChatEvent.LoadFailedThe WebView itself failed to load the bundle (DNS, TLS, HTTP error, offline…).
-