Interface InferredState.Builder

    • Method Detail

      • position

        InferredState.Builder position​(Collection<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.
      • 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

        InferredState.Builder accuracy​(PositionalAccuracy 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.
      • 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.