Event Listener
The Android SDK provides event listener to listen to various events on the client app. Through these event delegates, TapTalk.io notifies the client app of events that happen on your app.
You can listen through general events from the Live Chat SDK through the TapTalkLiveListener class. An instance of TapTalkLiveListener will be required to initialize the Live Chat SDK. A more complete implementation will be explained in this page.
TapTalkLiveListener listens to changes in the following methods:
Method Name | Invoked When |
| TapTalkLive instance has finished initialization process. |
| TapTalkLive instance initialization failed with an error. |
| User receives new message from TapTalk.io through notification. Returns the newly received message. |
| User closes the home page. Returns the home activity instance. |
| User closes the create case form page. Returns the create case form activity instance. |
| User closes the case list page. Returns the case list activity instance. |
| A chat room activity was closed by user when no other activity in the application is present (application will close). |
| User taps the See All Messages button in home page. Returns the current activity instance. |
| User taps the New Messages button in home or case list page. Returns the current activity instance. |
| User taps a case from a list in home or case list page. Returns the current activity instance and selected case's last message. |
| User taps a FAQ from a list in home or FAQ details page. Returns the current activity instance and selected SCF Path. |
| User closes the FAQ details page. Returns the current activity instance and selected SCF Path. |
| User taps the Talk to Agent button in home or FAQ details page. Returns the current activity instance and selected SCF Path. |
| User taps a url in FAQ content. Returns the current activity instance, selected SCF Path, and the selected url. |
| User long presses a url in FAQ content. Returns the current activity instance, selected SCF Path, and the selected url. |
| User taps an email address in FAQ content. Returns the current activity instance, selected SCF Path, and the selected email address. |
| User long presses an email address in FAQ content. Returns the current activity instance, selected SCF Path, and the selected email address. |
| User taps a phone number in FAQ content. Returns the current activity instance, selected SCF Path, and the selected phone number. |
| User long presses a phone number in FAQ content. Returns the current activity instance, selected SCF Path, and the selected phone number. |
Last updated