CornerAction

@Immutable
sealed interface CornerAction

Known direct subclasses
CornerAction.Call

Standard corner action that calls the place's phone number.

CornerAction.Custom

Fully custom corner action button.

CornerAction.OpenDirections

Standard corner action that opens directions to the place in Google Maps.

CornerAction.OpenInMaps

Standard corner action that opens the place in Google Maps.

CornerAction.OpenWebsite

Standard corner action that opens the place's website.


Represents an action button displayed in the corner of the Places widget.

Summary

Nested types

Standard corner action that calls the place's phone number.

Fully custom corner action button.

Standard corner action that opens directions to the place in Google Maps.

Standard corner action that opens the place in Google Maps.

Standard corner action that opens the place's website.

Defines the visual prominence of a corner action button.

Public properties

CornerAction.Style

The visual style and prominence of this action button.

Public properties

style

val style: CornerAction.Style

The visual style and prominence of this action button.