onReceived

public void onReceived(ChannelViewModel viewModel, UiMessage uiMessage, int left, boolean hasPackage, boolean offline)

Normal mode message handling.

Parameters

viewModel

ChannelViewModel

uiMessage

the received message

left

remaining message count after dispatching each data packet

hasPackage

whether there are undispatched message packets on the server

offline

whether this is an offline message