Interface GetPositionEstimateRequest.Builder

    • Method Detail

      • wiFiAccessPoints

        GetPositionEstimateRequest.Builder wiFiAccessPoints​(Collection<WiFiAccessPoint> wiFiAccessPoints)

        Retrieves an estimated device position by resolving WLAN measurement data. The position is resolved using HERE's Wi-Fi based solver.

        Parameters:
        wiFiAccessPoints - Retrieves an estimated device position by resolving WLAN measurement data. The position is resolved using HERE's Wi-Fi based solver.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • wiFiAccessPoints

        GetPositionEstimateRequest.Builder wiFiAccessPoints​(WiFiAccessPoint... wiFiAccessPoints)

        Retrieves an estimated device position by resolving WLAN measurement data. The position is resolved using HERE's Wi-Fi based solver.

        Parameters:
        wiFiAccessPoints - Retrieves an estimated device position by resolving WLAN measurement data. The position is resolved using HERE's Wi-Fi based solver.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cellTowers

        GetPositionEstimateRequest.Builder cellTowers​(CellTowers cellTowers)

        Retrieves an estimated device position by resolving measurement data from cellular radio towers. The position is resolved using HERE's cellular-based solver.

        Parameters:
        cellTowers - Retrieves an estimated device position by resolving measurement data from cellular radio towers. The position is resolved using HERE's cellular-based solver.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ip

        GetPositionEstimateRequest.Builder ip​(Ip ip)

        Retrieves an estimated device position by resolving the IP address information from the device. The position is resolved using MaxMind's IP-based solver.

        Parameters:
        ip - Retrieves an estimated device position by resolving the IP address information from the device. The position is resolved using MaxMind's IP-based solver.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ip

        default GetPositionEstimateRequest.Builder ip​(Consumer<Ip.Builder> ip)

        Retrieves an estimated device position by resolving the IP address information from the device. The position is resolved using MaxMind's IP-based solver.

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

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

        Parameters:
        ip - a consumer that will call methods on Ip.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ip(Ip)
      • gnss

        GetPositionEstimateRequest.Builder gnss​(Gnss gnss)

        Retrieves an estimated device position by resolving the global navigation satellite system (GNSS) scan data. The position is resolved using the GNSS solver powered by LoRa Cloud.

        Parameters:
        gnss - Retrieves an estimated device position by resolving the global navigation satellite system (GNSS) scan data. The position is resolved using the GNSS solver powered by LoRa Cloud.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gnss

        default GetPositionEstimateRequest.Builder gnss​(Consumer<Gnss.Builder> gnss)

        Retrieves an estimated device position by resolving the global navigation satellite system (GNSS) scan data. The position is resolved using the GNSS solver powered by LoRa Cloud.

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

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

        Parameters:
        gnss - a consumer that will call methods on Gnss.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        gnss(Gnss)
      • timestamp

        GetPositionEstimateRequest.Builder timestamp​(Instant timestamp)

        Optional information that specifies the time when the position information will be resolved. It uses the Unix timestamp format. If not specified, the time at which the request was received will be used.

        Parameters:
        timestamp - Optional information that specifies the time when the position information will be resolved. It uses the Unix timestamp format. If not specified, the time at which the request was received will be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.