KMP Connectivity
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
KMP Connectivity
connectivity-core
/
io.github.lexmerciful.connectivity.config
/
ProbeStrategy
/
Custom
Custom
class
Custom
(
val
check
:
suspend
(
)
->
Boolean
)
:
ProbeStrategy
(
source
)
Your own check; return
true
when the internet is reachable. Runs on an IO thread.
Members
Constructors
Custom
Link copied to clipboard
constructor
(
check
:
suspend
(
)
->
Boolean
)
Properties
check
Link copied to clipboard
val
check
:
suspend
(
)
->
Boolean