toggle menu
KAHelpers
androidJvm
switch theme
search in API
internetDetector
/
dev.funkymuse.internetdetector
/
InternetDetector
Internet
Detector
class
InternetDetector
(
context
:
Context
,
serverUrl
:
String
=
"https://www.google.com/"
,
timeOut
:
Int
=
10 * 1000
)
Members
Constructors
Internet
Detector
Link copied to clipboard
constructor
(
context
:
Context
,
serverUrl
:
String
=
"https://www.google.com/"
,
timeOut
:
Int
=
10 * 1000
)
Properties
state
Link copied to clipboard
@
RequiresPermission
(
allOf
=
[
"android.permission.ACCESS_NETWORK_STATE"
]
)
val
state
:
Flow
<
Boolean
>