Class ContentRatioParams

java.lang.Object
com.banuba.sdk.entity.ContentRatioParams

public class ContentRatioParams extends 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 Details

    • ContentRatioParams

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

    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • isFrameDisabled

      public boolean isFrameDisabled()