GooglePlaces Framework Reference
GMSBooleanPlaceAttribute
enum GMSBooleanPlaceAttribute : NSInteger {}
Describes whether a place’s boolean attribute is available or not.
-
The place’s attribute has not been requested yet, or not known.
Declaration
Objective-C
GMSBooleanPlaceAttributeUnknown
-
The place’s attribute is True.
Declaration
Objective-C
GMSBooleanPlaceAttributeTrue
-
The place’s attribute is False.
Declaration
Objective-C
GMSBooleanPlaceAttributeFalse
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."],[[["`GMSBooleanPlaceAttribute` is an enum that describes the state of a place's boolean attribute."],["It has three possible values: `unknown`, `true`, and `false`, indicating whether the attribute is unknown, true, or false, respectively."],["This enum is used to represent boolean attributes of places in the Google Maps SDK for iOS."]]],["`GMSBooleanPlaceAttribute` is an enumeration that defines the status of a place's boolean attribute. It can be `unknown` (not requested or not known), `true` (attribute is true), or `false` (attribute is false). These states are represented by integer values 0, 1, and 2 respectively in both Swift and Objective-C. The attribute can be checked for its presence, its known status, or if the requested value is negative or positive.\n"]]