RGJS6 Connection module.
Methods
-
<static> getSpeedIndicator()
-
Get speed indicator.
Returns:
Indicates speed. Higher numbers are better. 0 = offline, 4 = 4g.
- Type
- int
-
<static> isMetered()
-
Check if metered. Note: cellular is considered metered!
Returns:
- Type
- boolean
-
<static> isOnline()
-
Check if online.
Returns:
- Type
- boolean