GooglePlacesSwift Framework Reference
GooglePlacesAttributes
struct GooglePlacesAttributes
extension AttributeScopes.GooglePlacesAttributes : AttributeScope, DecodingConfigurationProviding, EncodingConfigurationProviding
-
Declaration
Swift
enum AutocompleteMatchAttribute
extension AttributeScopes.GooglePlacesAttributes.AutocompleteMatchAttribute : AttributedStringKey, DecodableAttributedStringKey, EncodableAttributedStringKey, MarkdownDecodableAttributedStringKey
-
Declaration
Swift
typealias DecodingConfiguration = AttributeScopeCodableConfiguration
-
Declaration
Swift
typealias EncodingConfiguration = AttributeScopeCodableConfiguration
-
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 2024-11-08 UTC.
[null,null,["Last updated 2024-11-08 UTC."],[[["GooglePlacesAttributes is a struct that serves as an attribute scope for Google Places data."],["It includes an AutocompleteMatchAttribute enum for handling autocomplete results."],["Both decoding and encoding configurations for GooglePlacesAttributes utilize AttributeScopeCodableConfiguration."],["The `autocompleteMatch` property provides access to attributes related to autocomplete matches."]]],["The core content describes the `GooglePlacesAttributes` structure and its associated components within the `AttributeScopes` extension. Key elements include the `AutocompleteMatchAttribute` enum, which conforms to several `AttributedStringKey` protocols. `DecodingConfiguration` and `EncodingConfiguration` are defined as `AttributeScopeCodableConfiguration` type aliases. The `autocompleteMatch` property is declared as an instance of `AutocompleteMatchAttribute`, used within the `GooglePlacesAttributes` context. The provided components allow to manage and decode the attributes for the Google Places data.\n"]]