Class TypingIndicatorViewModel

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final LiveData<List<User>> getTypingUsers() A list of users who are currently typing.
      • Methods inherited from class androidx.lifecycle.ViewModel

        addCloseable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TypingIndicatorViewModel

        TypingIndicatorViewModel(String cid, ChatClient chatClient, String messageId)
        Parameters:
        cid - The full channel id, i.e.
        chatClient - The main entry point for all low-level chat operations.
        messageId - The id of a message we wish to scroll to in messages list.