Package com.banuba.sdk.entity
Class ContentRatioParams
java.lang.Object
com.banuba.sdk.entity.ContentRatioParams
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
-
Method Summary
-
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()
-