Package 

Class StreamOfflinePluginFactory

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

    
    public final class StreamOfflinePluginFactory
     implements PluginFactory
                        

    Implementation of PluginFactory that provides OfflinePlugin.

    • Method Summary

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

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

      • StreamOfflinePluginFactory

        StreamOfflinePluginFactory(Config config, Context appContext)
        Parameters:
        config - Config Configuration of persistance of the SDK.
        appContext - Context
    • 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.