Chat UIObserver
This class represent a chat UI observer which will be notified when a chat activity event has occurred.
Since
v1.4.10
Functions
Link copied to clipboard
abstract fun onActivityDestroyed(chat: Chat, activity: WeakReference<AppCompatActivity>)
Content copied to clipboard
This function will be called when the chat UI has been destroyed and hidden.
Link copied to clipboard
abstract fun onActivityError( chat: Chat, activity: WeakReference<AppCompatActivity>, error: ChatException)
Content copied to clipboard
This function will be called when in the chat UI has occurred an error.
Link copied to clipboard
abstract fun onActivityStarted(chat: Chat, activity: WeakReference<AppCompatActivity>)
Content copied to clipboard
This function will be called when the chat UI has been created&shown.