Google Cloud Dialogflow v2 API - Enum Intent.Types.Message.Types.BrowseCarouselCard.Types.ImageDisplayOptions (4.4.0)

public enum ImageDisplayOptions

Reference documentation and code samples for the Google Cloud Dialogflow v2 API enum Intent.Types.Message.Types.BrowseCarouselCard.Types.ImageDisplayOptions.

Image display options for Actions on Google. This should be used for when the image's aspect ratio does not match the image container's aspect ratio.

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Fields

NameDescription
BlurredBackground

Pad the gaps between image and image frame with a blurred copy of the same image.

Cropped

Image is scaled such that the image width and height match or exceed the container dimensions. This may crop the top and bottom of the image if the scaled image height is greater than the container height, or crop the left and right of the image if the scaled image width is greater than the container width. This is similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video.

Gray

Fill the gaps between the image and the image container with gray bars.

Unspecified

Fill the gaps between the image and the image container with gray bars.

White

Fill the gaps between the image and the image container with white bars.