Class CarouselColumn

    • Constructor Detail

      • CarouselColumn

        public CarouselColumn​(java.net.URI thumbnailImageUrl,
                              java.lang.String title,
                              java.lang.String text,
                              java.util.List<Action> actions)
        Constructor for standard properties. Use builder() for fully-customized instance.
        See Also:
        builder()
      • CarouselColumn

        public CarouselColumn​(java.net.URI thumbnailImageUrl,
                              java.lang.String imageBackgroundColor,
                              java.lang.String title,
                              java.lang.String text,
                              Action defaultAction,
                              java.util.List<Action> actions)
    • Method Detail

      • getThumbnailImageUrl

        public java.net.URI getThumbnailImageUrl()
        Image URL.
        • HTTPS
        • JPEG or PNG
        • Aspect ratio: 1:1.51
        • Max width: 1024px
        • Max: 1 MB
      • getImageBackgroundColor

        public java.lang.String getImageBackgroundColor()
        Background color of image.

        Specify a RGB color value. The default value is #FFFFFF (white).

      • getTitle

        public java.lang.String getTitle()
        Title.

        Max: 40 characters

      • getText

        public java.lang.String getText()
        Message text.

        Max: 120 characters (no image or title)
        Max: 60 characters (message with an image or title)

      • getDefaultAction

        public Action getDefaultAction()
        Optional: Action when image is tapped; set for the entire image, title, and text area.
      • getActions

        public java.util.List<Action> getActions()
        Action when tapped.

        Max: 3

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object