Class MPNetworkOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Default constructor
    • Method Detail

      • setReadTimeout

        @NonNull
        public MPNetworkOptions.Builder setReadTimeout​(int timeoutMilliseconds)
        Sets the read timeoutMilliseconds in milliseconds to use for every network request inside the SDK
        Parameters:
        timeoutMilliseconds - timeoutMilliseconds in milliseconds. A timeoutMilliseconds of 0 is considered as infinity
        Returns:
        MPNetworkOptions.Builder object
      • setConnectionTimeout

        @NonNull
        public MPNetworkOptions.Builder setConnectionTimeout​(int timeoutMilliseconds)
        Sets the connection timeoutMilliseconds in milliseconds to use for every network request inside the SDK
        Parameters:
        timeoutMilliseconds - timeoutMilliseconds in milliseconds. A timeoutMilliseconds of 0 is considered as infinity
        Returns:
        MPNetworkOptions.Builder object