Interface GetPositionResponse.Builder

  • Method Details

    • position

      The position information of the resource.

      Parameters:
      position - The position information of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      GetPositionResponse.Builder position(Float... position)

      The position information of the resource.

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

      The accuracy of the estimated position in meters. An empty value indicates that no position data is available. A value of ‘0.0’ value indicates that position data is available. This data corresponds to the position information that you specified instead of the position computed by solver.

      Parameters:
      accuracy - The accuracy of the estimated position in meters. An empty value indicates that no position data is available. A value of ‘0.0’ value indicates that position data is available. This data corresponds to the position information that you specified instead of the position computed by solver.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accuracy

      The accuracy of the estimated position in meters. An empty value indicates that no position data is available. A value of ‘0.0’ value indicates that position data is available. This data corresponds to the position information that you specified instead of the position computed by solver.

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

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

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

      GetPositionResponse.Builder solverType(String solverType)

      The type of solver used to identify the position of the resource.

      Parameters:
      solverType - The type of solver used to identify the position of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • solverType

      The type of solver used to identify the position of the resource.

      Parameters:
      solverType - The type of solver used to identify the position of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • solverProvider

      GetPositionResponse.Builder solverProvider(String solverProvider)

      The vendor of the positioning solver.

      Parameters:
      solverProvider - The vendor of the positioning solver.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • solverProvider

      GetPositionResponse.Builder solverProvider(PositionSolverProvider solverProvider)

      The vendor of the positioning solver.

      Parameters:
      solverProvider - The vendor of the positioning solver.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • solverVersion

      GetPositionResponse.Builder solverVersion(String solverVersion)

      The version of the positioning solver.

      Parameters:
      solverVersion - The version of the positioning solver.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      GetPositionResponse.Builder timestamp(String timestamp)

      The timestamp at which the device's position was determined.

      Parameters:
      timestamp - The timestamp at which the device's position was determined.
      Returns:
      Returns a reference to this object so that method calls can be chained together.