AI-generated Key Takeaways
-
GMSPlacesBusinessStatusis an enum that describes the operational status of a business. -
It provides four possible states: unknown, operational, closed temporarily, and closed permanently.
-
Each state is represented by an integer value and is accessible through both Swift and Objective-C.
-
This enum is useful for developers working with the Google Places API to display accurate business information.
GMSPlacesBusinessStatus
enum GMSPlacesBusinessStatus : NSInteger {}Describes the business status of a place.
-
The business status is not known.
Declaration
Swift
case unknown = 0Objective-C
GMSPlacesBusinessStatusUnknown -
The business is operational.
Declaration
Swift
case operational = 1Objective-C
GMSPlacesBusinessStatusOperational -
The business is closed temporarily.
Declaration
Swift
case closedTemporarily = 2Objective-C
GMSPlacesBusinessStatusClosedTemporarily -
The business is closed permanently.
Declaration
Swift
case closedPermanently = 3Objective-C
GMSPlacesBusinessStatusClosedPermanently