Class DeviceGeoLocation.Builder

    • Method Detail

      • altitude

        public DeviceGeoLocation.Builder altitude​(Double altitude)
        “Altitude, given in meters above sea level”
        Parameters:
        altitude - value of altitude property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • heading

        public DeviceGeoLocation.Builder heading​(Double heading)
        “Heading in degrees from true north”
        Parameters:
        heading - value of heading property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • horizontalAccuracy

        public DeviceGeoLocation.Builder horizontalAccuracy​(Double horizontalAccuracy)
        “Accuracy of longitude and latitude in meters”
        Parameters:
        horizontalAccuracy - value of horizontalAccuracy property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastCollectedDateTime

        public DeviceGeoLocation.Builder lastCollectedDateTime​(OffsetDateTime lastCollectedDateTime)
        “Time at which location was recorded, relative to UTC”
        Parameters:
        lastCollectedDateTime - value of lastCollectedDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • latitude

        public DeviceGeoLocation.Builder latitude​(Double latitude)
        “Latitude coordinate of the device's location”
        Parameters:
        latitude - value of latitude property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • longitude

        public DeviceGeoLocation.Builder longitude​(Double longitude)
        “Longitude coordinate of the device's location”
        Parameters:
        longitude - value of longitude property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • speed

        public DeviceGeoLocation.Builder speed​(Double speed)
        “Speed the device is traveling in meters per second”
        Parameters:
        speed - value of speed property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • verticalAccuracy

        public DeviceGeoLocation.Builder verticalAccuracy​(Double verticalAccuracy)
        “Accuracy of altitude in meters”
        Parameters:
        verticalAccuracy - value of verticalAccuracy property (as defined in service metadata)
        Returns:
        this (for method chaining)