public static interface DevicePosition.Builder extends SdkPojo, CopyableBuilder<DevicePosition.Builder,DevicePosition>
| Modifier and Type | Method and Description |
|---|---|
DevicePosition.Builder |
deviceId(String deviceId)
The device whose position you retrieved.
|
DevicePosition.Builder |
position(Collection<Double> position)
The last known device position.
|
DevicePosition.Builder |
position(Double... position)
The last known device position.
|
DevicePosition.Builder |
receivedTime(Instant receivedTime)
The timestamp for when the tracker resource received the device position in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
DevicePosition.Builder |
sampleTime(Instant sampleTime)
The timestamp at which the device's position was determined.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDevicePosition.Builder deviceId(String deviceId)
The device whose position you retrieved.
deviceId - The device whose position you retrieved.DevicePosition.Builder position(Collection<Double> position)
The last known device position.
position - The last known device position.DevicePosition.Builder position(Double... position)
The last known device position.
position - The last known device position.DevicePosition.Builder receivedTime(Instant receivedTime)
The timestamp for when the tracker resource received the device position in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
receivedTime - The timestamp for when the tracker resource received the device position in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.DevicePosition.Builder sampleTime(Instant sampleTime)
The timestamp at which the device's position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
sampleTime - The timestamp at which the device's position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.Copyright © 2021. All rights reserved.