PlaceActionID
enum PlaceActionIDextension PlaceActionID : EquatableIdentifies 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
aandb,a == bimplies thata != bisfalse.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)