Android Scanbot SDK API reference
Toggle table of contents
7.1.0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Android Scanbot SDK API reference
Android Scanbot SDK API reference
/
io.scanbot.sdk.util.snap
/
Utils
/
getLargestSizeWithAspectRatioMatch
get
Largest
Size
With
Aspect
Ratio
Match
@
JvmStatic
fun
getLargestSizeWithAspectRatioMatch
(
sizes
:
List
<
Camera.Size
>
,
targetAspect
:
Double
)
:
Camera.Size
Return
largest
Camera.Size
from list with given aspect ratio.