Class ChannelListHeaderViewModel

    • 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<User> getCurrentUser() The user who is currently logged in.
      final LiveData<ConnectionState> getConnectionState() The state of the connection for the user currently logged in.
      • 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

      • ChannelListHeaderViewModel

        ChannelListHeaderViewModel(ClientState clientState)
        Parameters:
        clientState - Client state of SDK that contains information such as the current user and connection state.
      • ChannelListHeaderViewModel

        ChannelListHeaderViewModel()