Class ContentRatioParams


  • public class ContentRatioParams
    extends java.lang.Object
    Class used to get photo/video with square ratio . Pass ContentRatioParams with isSquareMode = true in takePhoto(...) or startVideoRecording(...) to get content with width == height. isFrameDisabled used to draw content in black frame. Can be 'true' only when isSquareMode = true
    • Constructor Summary

      Constructors 
      Constructor Description
      ContentRatioParams​(int width, int height, boolean isFrameDisabled)  
    • Constructor Detail

      • ContentRatioParams

        public ContentRatioParams​(int width,
                                  int height,
                                  boolean isFrameDisabled)
    • Method Detail

      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • isFrameDisabled

        public boolean isFrameDisabled()