Class MediaData


  • public class MediaData
    extends Object
    MediaData class contains media information received in TSH server api TSHProxy.getAsset(String, TPCSDKListener)

    type - Type of the image can be application/pdf, image/svg+xml and image/png.

    data - Base64-encoded data of image

    height - The height of the image

    width - The width of the image

    Since:
    1.0
    Version:
    1.0
    • Constructor Detail

      • MediaData

        public MediaData()
    • Method Detail

      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • getData

        public String getData()
      • setData

        public void setData​(String data)
      • getHeight

        public int getHeight()
      • setHeight

        public void setHeight​(int height)
      • getWidth

        public int getWidth()
      • setWidth

        public void setWidth​(int width)