BlinkID
Toggle table of contents
productionRelease
Target filter
productionRelease
Switch theme
Search in API
Skip to content
BlinkID
blinkid-core
/
com.microblink.blinkid.core.utils
/
StringUtils
/
compareVersionStrings
compare
Version
Strings
fun
compareVersionStrings
(
v1
:
String
,
v2
:
String
)
:
Int
Compares two version strings like "1.2.3".
Return
negative if
v1
<
v2
, 0 if equal, positive if
v1
>
v2
.