GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSAppCheckTokenCompletion
typedef void (^GMSAppCheckTokenCompletion)(NSString *_Nullable,
NSError *_Nullable)
Completion type for receiving App Check tokens. If an error occurred, token
will be nil and
error
will contain information about the error.
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\u003eGMSAppCheckTokenCompletion\u003c/code\u003e is a completion handler that provides an App Check token or an error upon completion.\u003c/p\u003e\n"],["\u003cp\u003eIf token retrieval is successful, the \u003ccode\u003etoken\u003c/code\u003e parameter will contain the token string, and \u003ccode\u003eerror\u003c/code\u003e will be nil.\u003c/p\u003e\n"],["\u003cp\u003eIf an error occurs during token retrieval, the \u003ccode\u003etoken\u003c/code\u003e parameter will be nil, and the \u003ccode\u003eerror\u003c/code\u003e parameter will contain information about the error.\u003c/p\u003e\n"]]],["The `GMSAppCheckTokenCompletion` is a completion type used to receive App Check tokens. It provides a callback with two parameters: `token` (a nullable string) and `error` (a nullable error object). If successful, `token` contains the App Check token. If an error occurs, `token` is nil, and `error` provides details about the problem encountered. The completion handler is called after attempting to retrieve an App Check token.\n"],null,["# GooglePlaces Framework Reference\n\nGMSAppCheckTokenCompletion\n==========================\n\n typedef void (^GMSAppCheckTokenCompletion)(NSString *_Nullable,\n NSError *_Nullable)\n\nCompletion type for receiving App Check tokens. If an error occurred, `token` will be nil and\n`error` will contain information about the error."]]