Navigate Live Chat UI
You may optionally navigate through TapTalk.io Omnichannel Live Chat's UI, such as case list and chat room, using the following methods:
Open TapTalk Omnichannel View
To open TapTalkLive's view UI for your application, you can use the openTapTalkLiveView method from the TapTalkLive class. This will open a homepage activity containing a list of available channels, the user's latest case, and QnA path.
import io.taptalk.taptalklive.TapTalkLive;
...
TapTalkLive.openTapTalkLiveView(YourActivity.this);import io.taptalk.taptalklive.TapTalkLive
...
TapTalkLive.openTapTalkLiveView(this@YourActivity)Open Case List View
You can open the user's case list page by calling openCaseListView. If no user is authenticated, create case form will be opened instead.
import io.taptalk.taptalklive.TapTalkLive;
...
TapTalkLive.openCaseListView(YourActivity.this);import io.taptalk.taptalklive.TapTalkLive
...
TapTalkLive.openCaseListView(this@YourActivity)Get Case List Fragment
You may optionally attach TapTalk Omnichannel's case list fragment to your own activity. To obtain the chat list fragment instance, use the getCaseListFragment method.
Open Existing Case's Chat Room
To use this method, you need to first finish authentication process.
Once authenticated, you can open a chat room from one the user's case by calling openCaseChatRoom, providing the context and XC Room ID. You may obtain XC Room ID from one of the active user's case list, or by creating a new case.
Last updated
Was this helpful?