Class DefaultDataSourceFactory

    • Constructor Detail

      • DefaultDataSourceFactory

        public DefaultDataSourceFactory​(Context context)
        Deprecated.
        Creates an instance.
        Parameters:
        context - A context.
      • DefaultDataSourceFactory

        public DefaultDataSourceFactory​(Context context,
                                        @Nullable
                                        String userAgent)
        Deprecated.
        Creates an instance.
        Parameters:
        context - A context.
        userAgent - The user agent that will be used when requesting remote data, or null to use the default user agent of the underlying platform.
      • DefaultDataSourceFactory

        public DefaultDataSourceFactory​(Context context,
                                        @Nullable
                                        String userAgent,
                                        @Nullable
                                        TransferListener listener)
        Deprecated.
        Creates an instance.
        Parameters:
        context - A context.
        userAgent - The user agent that will be used when requesting remote data, or null to use the default user agent of the underlying platform.
        listener - An optional listener.