Package com.banuba.sdk.entity
Class ContentRatioParams
- java.lang.Object
-
- com.banuba.sdk.entity.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
int
getWidth()
boolean
isFrameDisabled()
-