TypingService

interface TypingService

This interface defines methods to handle typing data. It's implemented at the room level.

Functions

Link copied to clipboard
abstract fun userIsTyping()

To call when user is typing a message in the room. The SDK will handle the requests scheduling to the homeserver:

Link copied to clipboard
abstract fun userStopsTyping()

To call when user stops typing in the room Notify immediately the homeserver that the user is not typing anymore in the room, for instance when user has emptied the composer, or when the user quits the timeline screen.