Interface InferredState.Builder

  • Method Details

    • position

      The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.

      Parameters:
      position - The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      InferredState.Builder position(Double... position)

      The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.

      Parameters:
      position - The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accuracy

      The level of certainty of the inferred position.

      Parameters:
      accuracy - The level of certainty of the inferred position.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accuracy

      The level of certainty of the inferred position.

      This is a convenience method that creates an instance of the PositionalAccuracy.Builder avoiding the need to create one manually via PositionalAccuracy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accuracy(PositionalAccuracy).

      Parameters:
      accuracy - a consumer that will call methods on PositionalAccuracy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deviationDistance

      InferredState.Builder deviationDistance(Double deviationDistance)

      The distance between the inferred position and the device's self-reported position.

      Parameters:
      deviationDistance - The distance between the inferred position and the device's self-reported position.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • proxyDetected

      InferredState.Builder proxyDetected(Boolean proxyDetected)

      Indicates if a proxy was used.

      Parameters:
      proxyDetected - Indicates if a proxy was used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.