AI-generated Key Takeaways
-
GMSPlacesBusinessStatus
is 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 = 0
Objective-C
GMSPlacesBusinessStatusUnknown
-
The business is operational.
Declaration
Swift
case operational = 1
Objective-C
GMSPlacesBusinessStatusOperational
-
The business is closed temporarily.
Declaration
Swift
case closedTemporarily = 2
Objective-C
GMSPlacesBusinessStatusClosedTemporarily
-
The business is closed permanently.
Declaration
Swift
case closedPermanently = 3
Objective-C
GMSPlacesBusinessStatusClosedPermanently