AI-generated Key Takeaways
-
GMSPlacesPriceLevel
is 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 = -1
Objective-C
kGMSPlacesPriceLevelUnknown = -1
-
Declaration
Swift
case free = 0
Objective-C
kGMSPlacesPriceLevelFree = 0
-
Declaration
Swift
case cheap = 1
Objective-C
kGMSPlacesPriceLevelCheap = 1
-
Declaration
Swift
case medium = 2
Objective-C
kGMSPlacesPriceLevelMedium = 2
-
Declaration
Swift
case high = 3
Objective-C
kGMSPlacesPriceLevelHigh = 3
-
Declaration
Swift
case expensive = 4
Objective-C
kGMSPlacesPriceLevelExpensive = 4