Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Sep 14, 2024
1 parent 4c4e7ce commit 7c71635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/workernavigator/connection/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
title: WorkerNavigator:connection 属性
slug: Web/API/WorkerNavigator/connection
l10n:
sourceCommit: 5671055d63552c5a4dc22ce7f6bea408afa1521a
sourceCommit: e8fe043f7d2ad7cd9804d1bf96e0310949f1dac7
---

{{APIRef("Network Information API")}}
{{APIRef("Network Information API")}}{{AvailableInWorkers("worker")}}

{{domxref("WorkerNavigator")}} 接口的 **`connection`** 只读属性返回一个包含有关系统网络连接信息的 {{domxref("NetworkInformation")}} 对象,例如用户设备的当前带宽或连接是否按流量计费。这可以用于根据用户的连接状态来选择高清晰度内容或低清晰度内容。

Expand Down

0 comments on commit 7c71635

Please sign in to comment.