Connection Tool
object ConnectionTool
Subscription for Internet connection status.
It can be used to avoid register several NetworkCallbacks
or BroadcastReceivers
for one app.
See also
Properties
Functions
Link copied to clipboard
Free resources used by ConnectionTool's listeners (unregister BroadcastReceivers, unregister NetworkCallback and so on).
Link copied to clipboard
Prepare listeners of Internet availability.
Link copied to clipboard
Check has ConnectionTool been initialized (e.g. init method has been invoked).
Link copied to clipboard
Returns Flowable that emits true
when connection to Internet is available and false
otherwise.