GooglePlaces Framework Reference

  • GMSPlaceOpenStatus is an enum that describes whether a place is open, closed, or has an unknown status.

  • It has three possible values: GMSPlaceOpenStatusUnknown, GMSPlaceOpenStatusOpen, and GMSPlaceOpenStatusClosed.

  • Developers can use this enum to display the open status of a place in their applications.

GMSPlaceOpenStatus

enum GMSPlaceOpenStatus : NSInteger {}

Describes the open status of a place.

  • The place’s open status is unknown.

    Declaration

    Swift

    case unknown = 0

    Objective-C

    GMSPlaceOpenStatusUnknown
  • The place is open.

    Declaration

    Swift

    case open = 1

    Objective-C

    GMSPlaceOpenStatusOpen
  • The place is not open.

    Declaration

    Swift

    case closed = 2

    Objective-C

    GMSPlaceOpenStatusClosed