Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-common
/
org.meshtastic.core.common.util
/
validSecondsOrNull
valid
Seconds
Or
Null
fun
validSecondsOrNull
(
seconds
:
Int
?
,
maxValidTime
:
Int
)
:
Int
?
(
source
)
Returns
seconds
when it is a plausible epoch no later than
maxValidTime
, else null