GooglePlacesSwift Framework Reference

PlaceActionID

enum PlaceActionID
extension PlaceActionID : Equatable

Identifies predefined types of actions that can be associated with a place.

Note that a place may not support all actions. For example, if a place does not have a phone number, a call action will not be displayed.

  • Returns a Boolean value indicating whether two values are equal.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

    static func == (a: PlaceActionID, b: PlaceActionID) -> Bool
  • An action that calls the place.

    Declaration

    Swift

    case call(style: PlaceActionStyle = .secondary)
  • An action that opens directions to the place in Google Maps.

    Declaration

    Swift

    case openDirections(style: PlaceActionStyle = .secondary)
  • An action that opens the place in Google Maps.

    Declaration

    Swift

    case openMap(style: PlaceActionStyle = .secondary)
  • An action that opens the website of the place.

    Declaration

    Swift

    case openWebsite(style: PlaceActionStyle = .secondary)