GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSBooleanPlaceAttribute\u003c/code\u003e is an enum that describes the state of a place's boolean attribute.\u003c/p\u003e\n"],["\u003cp\u003eIt has three possible values: \u003ccode\u003eunknown\u003c/code\u003e, \u003ccode\u003etrue\u003c/code\u003e, and \u003ccode\u003efalse\u003c/code\u003e, indicating whether the attribute is unknown, true, or false, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThis enum is used to represent boolean attributes of places in the Google Maps SDK for iOS.\u003c/p\u003e\n"]]],["`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"],null,["# GooglePlaces Framework Reference\n\nGMSBooleanPlaceAttribute\n========================\n\n enum GMSBooleanPlaceAttribute : NSInteger {}\n\nDescribes whether a place's boolean attribute is available or not.\n- `\n ``\n ``\n `\n\n ### [GMSBooleanPlaceAttributeUnknown](#/c:@E@GMSBooleanPlaceAttribute@GMSBooleanPlaceAttributeUnknown)\n\n `\n ` \n The place's attribute has not been requested yet, or not known. \n\n #### Declaration\n\n Swift \n\n case unknown = 0\n\n Objective-C \n\n GMSBooleanPlaceAttributeUnknown\n\n- `\n ``\n ``\n `\n\n ### [GMSBooleanPlaceAttributeTrue](#/c:@E@GMSBooleanPlaceAttribute@GMSBooleanPlaceAttributeTrue)\n\n `\n ` \n The place's attribute is True. \n\n #### Declaration\n\n Swift \n\n case `true` = 1\n\n Objective-C \n\n GMSBooleanPlaceAttributeTrue\n\n- `\n ``\n ``\n `\n\n ### [GMSBooleanPlaceAttributeFalse](#/c:@E@GMSBooleanPlaceAttribute@GMSBooleanPlaceAttributeFalse)\n\n `\n ` \n The place's attribute is False. \n\n #### Declaration\n\n Swift \n\n case `false` = 2\n\n Objective-C \n\n GMSBooleanPlaceAttributeFalse"]]