Class NetworkConfiguration.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • NetworkConfiguration.Builder

        NetworkConfiguration.Builder()
    • Method Detail

      • maxRetries

         NetworkConfiguration.Builder maxRetries(int maxRetries)

        Sets the maximum amount of retries before the player throws a fatal error.

        Parameters:
        maxRetries - The maximum amount of retries.
      • minimumBackOff

         NetworkConfiguration.Builder minimumBackOff(long minimumBackOff)

        Sets the initial delay in milliseconds before a retry request occurs. Exponential backoff will be applied on this value.

        Parameters:
        minimumBackOff - The initial delay in milliseconds before a retry request occurs.
      • maximumBackOff

         NetworkConfiguration.Builder maximumBackOff(long maximumBackOff)

        Sets the maximum amount of delay in milliseconds between retry requests.

        Parameters:
        maximumBackOff - The maximum amount of delay in milliseconds between retry requests.