ConnectivityConfig
Immutable monitor configuration. Every default reproduces the reference behaviour.
Build it with ConnectivityConfig { ... } (or pass the same block to a ConnectivityMonitor factory). Invalid values fail fast with an IllegalArgumentException when the config is built. To change the configuration later, close() the monitor and create a new one.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
How long monitoring keeps running after the last collector leaves. Duration.INFINITE = never stop.
Link copied to clipboard