[null,null,["最后更新时间 (UTC):2025-02-28。"],[[["This guide provides an alternative to the Consumer SDK for retrieving real-time trip data like location, ETA, and routing directly from Fleet Engine, giving you more control over the user experience."],["You can retrieve trip information using the `GetTrip` method with the `JOURNEY_SHARING_V1S` view, and poll it for updates, ideally every 10 seconds."],["The `Trip` object returned contains various fields including `trip_status`, `last_location`, `remaining_waypoints`, and more."],["`remaining_waypoints` field provides a list of waypoints the vehicle needs to travel, with the `JOURNEY_SHARING_V1S` view ensuring the first waypoint reflects the vehicle's latest position."],["For back-to-back or shared trips, `remaining_waypoints` may include waypoints from other trips, requiring careful consideration of privacy implications when displaying this information."]]],["To retrieve trip data directly from Fleet Engine, use the `GetTrip` method with the `JOURNEY_SHARING_V1S` view. Poll the service every 10 seconds to monitor vehicle progress, checking `Trip.last_location.update_time` for updates. The `Trip` object provides fields like `trip_status`, `remaining_waypoints`, and `last_location`. `remaining_waypoints` shows the vehicle's route, including pickups/drop-offs, potentially from other trips. Be cautious of privacy implications when displaying other trips waypoints.\n"]]