Package 

Class StreamStatePluginFactory

  • All Implemented Interfaces:
    io.getstream.chat.android.client.plugin.factory.PluginFactory

    
    public final class StreamStatePluginFactory
     implements PluginFactory
                        

    Implementation of PluginFactory that provides StatePlugin.

    • Method Summary

      Modifier and Type Method Description
      Plugin get(User user) Creates a Plugin
      final Unit setRepositoryFactory(RepositoryFactory repositoryFactory) Sets a custom repository factory.
      final StatePlugin createStatePlugin(User user, CoroutineScope scope, RepositoryFactory repositoryFactory)
      • Methods inherited from class java.lang.Object

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

      • get

         Plugin get(User user)

        Creates a Plugin

      • setRepositoryFactory

         final Unit setRepositoryFactory(RepositoryFactory repositoryFactory)

        Sets a custom repository factory. Use this to change the persistence layer of the SDK.