com.google.android.libraries.mapsplatform.transportation.consumer.managers
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTripModelManager\u003c/code\u003e interface is used to manage active trips within the Journey Sharing system.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTripModel\u003c/code\u003e class represents an individual trip and holds relevant trip details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTripModelCallback\u003c/code\u003e class enables you to receive updates and events related to a specific trip, facilitating the monitoring of trip progress and status.\u003c/p\u003e\n"]]],[],null,["# com.google.android.libraries.mapsplatform.transportation.consumer.managers\n\n### Interfaces\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|\n| [TripModelManager](/maps/documentation/mobility/journey-sharing/on-demand/reference/consumer_2/android/reference/com/google/android/libraries/mapsplatform/transportation/consumer/managers/TripModelManager) | Manages active trips for Journey Sharing. |\n\n### Classes\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [TripModel](/maps/documentation/mobility/journey-sharing/on-demand/reference/consumer_2/android/reference/com/google/android/libraries/mapsplatform/transportation/consumer/managers/TripModel) | Represents a specific trip. |\n| [TripModelCallback](/maps/documentation/mobility/journey-sharing/on-demand/reference/consumer_2/android/reference/com/google/android/libraries/mapsplatform/transportation/consumer/managers/TripModelCallback) | Callback registered with [TripModel.registerTripCallback(LifecycleOwner, boolean, TripModelCallback)](/maps/documentation/mobility/journey-sharing/on-demand/reference/consumer_2/android/reference/com/google/android/libraries/mapsplatform/transportation/consumer/managers/TripModel#registerTripCallback(androidx.lifecycle.LifecycleOwner,%20boolean,%20com.google.android.libraries.mapsplatform.transportation.consumer.managers.TripModelCallback)) or [TripModel.registerTripCallback(TripModelCallback)](/maps/documentation/mobility/journey-sharing/on-demand/reference/consumer_2/android/reference/com/google/android/libraries/mapsplatform/transportation/consumer/managers/TripModel#registerTripCallback(com.google.android.libraries.mapsplatform.transportation.consumer.managers.TripModelCallback)). |"]]