Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var finderInsets: <Error class: unknown class>

Changes finder view padding to preview edges

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var measuredHeight: Int
Link copied to clipboard
open override var measuredWidth: Int
Link copied to clipboard
open override var overlayBottomPadding: Int
Link copied to clipboard
open override var overlayLeftPadding: Int
Link copied to clipboard
open override var overlayRightPadding: Int
Link copied to clipboard
open override var overlayTopPadding: Int
Link copied to clipboard
var safeAreaInsets: <Error class: unknown class>

Set a padding to finder parts that will be covered with other view's, like toolbar on top of the screen, and navigation bars on bottom of the screens

Link copied to clipboard
val sumInsets: <Error class: unknown class>
Link copied to clipboard

Set the maximus size of the finder bigger size. Finder can be smaller if the size of screen minus insets is smaller than finderMaxSize

Link copied to clipboard

Set the maximus size of the finder bigger size. Finder can be smaller if the size of screen minus insets is smaller than finderMaxSize

Functions

Link copied to clipboard
open fun calculateInsets(measuredWidth: Int, measuredHeight: Int): <Error class: unknown class>
Link copied to clipboard
fun calculatePreviewFrameSize(measuredWidth: Int, measuredHeight: Int): Pair<Int, Int>
Link copied to clipboard
fun calculateTargetSize(targetAspectRatio: Double, finderHeight: Int, finderWidth: Int): Pair<Int, Int>
Link copied to clipboard
fun calculateTotalPaddings(previewWidthOffset: Int, previewHeightOffset: Int): Pair<Int, Int>
Link copied to clipboard
open override fun recalculate()
Link copied to clipboard
open override fun setCameraParameters(previewWidth: Int, previewHeight: Int, cameraPreviewMode: CameraPreviewMode)

Set camera parameters