GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSRouteStatusCallback
Called when a route from the device’s location to the provided destination(s) is found, or fails
to be found for a reason indicated by the RouteStatus.
@related GMSNavigator
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\u003e\u003ccode\u003eGMSRouteStatusCallback\u003c/code\u003e is a block that's called when a route to a destination is successfully calculated or if the calculation fails.\u003c/p\u003e\n"],["\u003cp\u003eIt receives a \u003ccode\u003eGMSRouteStatus\u003c/code\u003e indicating the outcome of the route calculation (success or reason for failure).\u003c/p\u003e\n"],["\u003cp\u003eThis callback is used with the \u003ccode\u003eGMSNavigator\u003c/code\u003e class to get updates on route calculation requests.\u003c/p\u003e\n"]]],[],null,["# GoogleNavigation Framework Reference\n\nGMSRouteStatusCallback\n======================\n\n typedef void (^GMSRouteStatusCallback)(../Enums/GMSRouteStatus.html)\n\nCalled when a route from the device's location to the provided destination(s) is found, or fails\nto be found for a reason indicated by the RouteStatus.\n\n@related [GMSNavigator](../Classes/GMSNavigator.html)"]]