위치 업데이트 사용 안함
운전자가 교대 근무를 종료하면 DeliveryVehicleReporter.disableLocationTracking()
또는 RidesharingVehicleReporter.disableLocationTracking()
를 호출하여 위치 업데이트를 중지하고 차량을 오프라인으로 표시할 수 있습니다.
이 호출은 차량이 오프라인 상태임을 나타내기 위해 Fleet Engine에 대한 마지막 즉시 업데이트를 예약합니다. 이 업데이트에는 운전자의 위치가 포함되지 않습니다.
차량 상태를 오프라인으로 설정
차량 검색에서 차량을 사용할 수 없음으로 표시하려면 차량 상태를 OFFLINE
로 설정하거나 위치 업데이트를 사용 중지하면 됩니다. 아직 위치 업데이트를 사용 설정하지 않았거나 업데이트를 명시적으로 사용 중지한 경우 차량을 OFFLINE
로 표시할 수 있습니다. Driver SDK는 차량을 Fleet Engine에 즉시 오프라인으로 전달합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-02-28(UTC)
[null,null,["최종 업데이트: 2025-02-28(UTC)"],[[["Location updates can be stopped and the vehicle marked offline at the end of a driver's shift using specific function calls (`DeliveryVehicleReporter.disableLocationTracking()` or `RidesharingVehicleReporter.disableLocationTracking()`)."],["This action triggers a final update to Fleet Engine, marking the vehicle as offline without including the driver's location."],["Setting the vehicle state to `OFFLINE` or disabling location updates prevents the vehicle from appearing in vehicle searches."],["Vehicles can be marked as `OFFLINE` before or after enabling/disabling location updates, and the Driver SDK immediately communicates this status to Fleet Engine."]]],[]]