GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSTermsResponseCallback
typedef void (^GMSTermsResponseCallback)(BOOL)
Called when the user accepts or rejects the terms and conditions.
For versions >= 5.5.0, termsAccepted
will always be YES.
@related GMSNavigationServices
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\u003eGMSTermsResponseCallback\u003c/code\u003e is a block type used to handle user responses to terms and conditions.\u003c/p\u003e\n"],["\u003cp\u003eIt's called when the user either accepts or rejects the terms, passing a boolean value (\u003ccode\u003etermsAccepted\u003c/code\u003e) indicating their decision.\u003c/p\u003e\n"],["\u003cp\u003eIn versions 5.5.0 and later, \u003ccode\u003etermsAccepted\u003c/code\u003e will consistently be YES, indicating acceptance.\u003c/p\u003e\n"],["\u003cp\u003eThis callback is related to \u003ccode\u003eGMSNavigationServices\u003c/code\u003e, suggesting its usage within navigation functionalities.\u003c/p\u003e\n"]]],[],null,["# GoogleNavigation Framework Reference\n\nGMSTermsResponseCallback\n========================\n\n typedef void (^GMSTermsResponseCallback)(BOOL)\n\nCalled when the user accepts or rejects the terms and conditions.\n\nFor versions \\\u003e= 5.5.0, `termsAccepted` will always be YES.\n\n@related [GMSNavigationServices](../Classes/GMSNavigationServices.html)"]]