From 8ee0a4ff865c728c33064de2938f1e3f31bfe6d5 Mon Sep 17 00:00:00 2001 From: Sini Nysten Date: Fri, 6 Mar 2020 17:57:26 +0200 Subject: [PATCH] Fix Location Callback Schema example --- src/declarations/interfaces/Location.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/declarations/interfaces/Location.d.ts b/src/declarations/interfaces/Location.d.ts index 1200038a..da756543 100644 --- a/src/declarations/interfaces/Location.d.ts +++ b/src/declarations/interfaces/Location.d.ts @@ -62,10 +62,10 @@ declare module "react-native-background-geolocation" { * @example * ``` * { - * "timestamp": [Date], // <-- Javascript Date instance - * "event": [String], // <-- motionchange|geofence|heartbeat - * "is_moving": [Boolean], // <-- The motion-state when location was recorded. - * "uuid": [String], // <-- Universally unique identifier + * "timestamp": [ISO-8601 UTC], // <-- eg: "2015-05-05T04:31:54.123Z" + * "event": [String], // <-- motionchange|geofence|heartbeat + * "is_moving": [Boolean], // <-- The motion-state when location was recorded. + * "uuid": [String], // <-- Universally unique identifier * "coords": { * "latitude": [Double], * "longitude": [Double],