Interface DeviceState.Builder

    • Method Detail

      • deviceId

        DeviceState.Builder deviceId​(String deviceId)

        The device identifier.

        Parameters:
        deviceId - The device identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sampleTime

        DeviceState.Builder sampleTime​(Instant sampleTime)

        The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

        Parameters:
        sampleTime - The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • position

        DeviceState.Builder position​(Collection<Double> position)

        The last known device position.

        Parameters:
        position - The last known device position.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • position

        DeviceState.Builder position​(Double... position)

        The last known device position.

        Parameters:
        position - The last known device position.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accuracy

        DeviceState.Builder accuracy​(PositionalAccuracy accuracy)
        Sets the value of the Accuracy property for this object.
        Parameters:
        accuracy - The new value for the Accuracy property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv4Address

        DeviceState.Builder ipv4Address​(String ipv4Address)

        The device's Ipv4 address.

        Parameters:
        ipv4Address - The device's Ipv4 address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • wiFiAccessPoints

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

        The Wi-Fi access points the device is using.

        Parameters:
        wiFiAccessPoints - The Wi-Fi access points the device is using.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • wiFiAccessPoints

        DeviceState.Builder wiFiAccessPoints​(WiFiAccessPoint... wiFiAccessPoints)

        The Wi-Fi access points the device is using.

        Parameters:
        wiFiAccessPoints - The Wi-Fi access points the device is using.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cellSignals

        DeviceState.Builder cellSignals​(CellSignals cellSignals)

        The cellular network infrastructure that the device is connected to.

        Parameters:
        cellSignals - The cellular network infrastructure that the device is connected to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.