Class CMAAssetFile.Details.ImageMeta

  • Enclosing class:
    CMAAssetFile.Details

    public static class CMAAssetFile.Details.ImageMeta
    extends java.lang.Object
    Optional readonly structure, filled with information by Contentful, if the asset is an image.
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageMeta()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getHeight()  
      java.lang.Long getWidth()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ImageMeta

        public ImageMeta()
    • Method Detail

      • getWidth

        public java.lang.Long getWidth()
        Returns:
        width of the image in pixel.
      • getHeight

        public java.lang.Long getHeight()
        Returns:
        height of the image in pixel.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a human readable string, representing the object.