Search completed in 1.27 seconds.
NetworkInformation.downlinkMax - Web APIs
function log
connectiontype() { var
connectiontype = 'not supported'; var downlinkmax = 'not supported'; if ('connection' in navigator) {
connectiontype = navigator.connection.effectivetype; if ('downlinkmax' in navigator.connection) { downlinkmax = navigator.connection.downlinkmax; } } console.log('current connection type: ' +
connectiontype + ' (downlink max: ' + downlinkmax + ')'); } l...
...og
connectiontype(); navigator.connection.addeventlistener('change', log
connectiontype); specifications specification status comment network information apithe definition of 'downlinkmax' in that specification.