Package 

Class StreamOfflinePluginFactory

  • All Implemented Interfaces:
    io.getstream.chat.android.client.persistance.repository.factory.RepositoryFactory.Provider , io.getstream.chat.android.client.plugin.DependencyResolver , io.getstream.chat.android.client.plugin.factory.PluginFactory

    
    public final class StreamOfflinePluginFactory
     implements PluginFactory, RepositoryFactory.Provider
                        

    Implementation of PluginFactory that provides OfflinePlugin.

    • Constructor Detail

      • StreamOfflinePluginFactory

        StreamOfflinePluginFactory(Context appContext, Set<String> ignoredChannelTypes, Function0<Long> now)
        Parameters:
        appContext - Context
        ignoredChannelTypes - Set of channel types that should be ignored by the offline plugin.
        now - Function to get the current time in milliseconds.
      • StreamOfflinePluginFactory

        StreamOfflinePluginFactory(Context appContext, Set<String> ignoredChannelTypes)
        Parameters:
        appContext - Context
        ignoredChannelTypes - Set of channel types that should be ignored by the offline plugin.
      • StreamOfflinePluginFactory

        StreamOfflinePluginFactory(Context appContext)
        Parameters:
        appContext - Context