Network information
Your device may not fully support this feature
The NetworkInformation API provides information about the connection of a device, allowing web apps to adapt functionality based on network quality.
The reported information includes effective bandwidth (in mbps), effective type (wifi, cellular, ethernet etc.) and if the user has activated reduced data usage.
The online/offline status indicates if the user is connected to a network and is not part of the Network Information API.