Class StandaloneCardHelper


  • public class StandaloneCardHelper
    extends java.lang.Object
    Utility class for CardContent data.
    • Constructor Detail

      • StandaloneCardHelper

        public StandaloneCardHelper​(java.lang.String title,
                                    java.lang.String description,
                                    java.lang.String imageFileUrl,
                                    java.util.List<SuggestionHelper> suggestions)
      • StandaloneCardHelper

        public StandaloneCardHelper​(java.lang.String title,
                                    java.lang.String description,
                                    java.lang.String imageFileUrl,
                                    SuggestionHelper suggestion)
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
      • getDescription

        public java.lang.String getDescription()
      • getImageFileUrl

        public java.lang.String getImageFileUrl()
      • getCardContent

        public CardContent getCardContent()
        Converts this helper object into an RBM card.
        Returns:
        CardContent object.
      • getCardContent

        public CardContent getCardContent​(MediaHeight height)
        Converts this helper object into an RBM card.
        Parameters:
        height - The height of the media element.
        Returns:
        CardContent object.