GooglePlaces Framework Reference

  • GMSOpenNowStatus is an enum used to describe if a place is currently open.

  • It has three possible states: yes, no, and unknown, indicating whether a place is open, closed, or if its status is unknown.

  • These states are represented by the integer values 0, 1, and 2 respectively, for use in both Swift and Objective-C.

GMSOpenNowStatus

enum GMSOpenNowStatus : NSInteger {}

Describes the current open status of a place.

  • The place is open now.

    Declaration

    Swift

    case yes = 0

    Objective-C

    GMSOpenNowStatusYes
  • The place is not open now.

    Declaration

    Swift

    case no = 1

    Objective-C

    GMSOpenNowStatusNo
  • Whether the place is open now is unknown.

    Declaration

    Swift

    case unknown = 2

    Objective-C

    GMSOpenNowStatusUnknown