Class MeaMediaContent


  • public class MeaMediaContent
    extends java.lang.Object
    Media content of static Assets from a repository, such as - card art, card brand logos, issuers logos, terms and conditions.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MeaMediaContent.Type
      Asset media content MIME type.
    • Constructor Summary

      Constructors 
      Constructor Description
      MeaMediaContent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getBase64DataString()
      Returns the data for this item of media.
      java.lang.String getData()
      Deprecated.
      Returns valid value only PLAIN_TEXT asset type.
      int getHeight()
      For image assets, returns the height of this image.
      MeaMediaContent.Type getType()
      Returns what type of media this is.
      int getWidth()
      For image assets, returns the width of this image.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MeaMediaContent

        public MeaMediaContent()
    • Method Detail

      • getData

        @Deprecated
        @Nullable
        public java.lang.String getData()
        Deprecated.
        Returns valid value only PLAIN_TEXT asset type. Use getBase64DataString() instead.
        Returns the data for this item of media.
        Returns:
        String value of the asset.
      • getBase64DataString

        public java.lang.String getBase64DataString()
        Returns the data for this item of media.
        Returns:
        Base64-encoded String value of the asset.
      • getWidth

        public int getWidth()
        For image assets, returns the width of this image. Specified in pixels.
        Returns:
        width value as Integer.
      • getHeight

        public int getHeight()
        For image assets, returns the height of this image. Specified in pixels.
        Returns:
        height value as Integer.