Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DevicePositionUpdate

import type { DevicePositionUpdate } from "https://aws-api.deno.dev/v0.3/services/location.ts?docs=full";

Contains the position update details for a device.

interface DevicePositionUpdate {
Accuracy?: PositionalAccuracy | null;
DeviceId: string;
Position: number[];
PositionProperties?: {
[key: string]: string | null | undefined;
}
| null;
SampleTime: Date | number;
}

§Properties

§
Accuracy?: PositionalAccuracy | null
[src]

The accuracy of the device position.

§
DeviceId: string
[src]

The device associated to the position update.

§
Position: number[]
[src]

The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].

§
PositionProperties?: {
[key: string]: string | null | undefined;
}
| null
[src]

Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.

Format: "key" : "value"

§
SampleTime: Date | number
[src]

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