toggle menu
livekit-android-sdk
2.21.0
SDK
switch theme
search in API
livekit-android-sdk
/
io.livekit.android.token
/
hasValidToken
has
Valid
Token
fun
TokenSourceResponse
.
hasValidToken
(
tolerance
:
Duration
=
60.seconds
,
date
:
Date
=
Date()
)
:
Boolean
Validates whether the JWT token is still valid.