AI-generated Key Takeaways
-
GMSPlacesPriceLevelis an enum used to describe the price level of a place. -
It includes levels ranging from free to expensive, with an additional unknown level.
-
The enum is represented by integer values, with -1 indicating unknown and increasing values for higher price levels.
-
It is available in both Swift and Objective-C with corresponding case/constant names.
GMSPlacesPriceLevel
enum GMSPlacesPriceLevel : NSInteger {}Describes the price level of a place.
-
Declaration
Swift
case unknown = -1Objective-C
kGMSPlacesPriceLevelUnknown = -1 -
Declaration
Swift
case free = 0Objective-C
kGMSPlacesPriceLevelFree = 0 -
Declaration
Swift
case cheap = 1Objective-C
kGMSPlacesPriceLevelCheap = 1 -
Declaration
Swift
case medium = 2Objective-C
kGMSPlacesPriceLevelMedium = 2 -
Declaration
Swift
case high = 3Objective-C
kGMSPlacesPriceLevelHigh = 3 -
Declaration
Swift
case expensive = 4Objective-C
kGMSPlacesPriceLevelExpensive = 4