NetworkInformation: type 屬性
注意:此功能在 Web Workers 中可用。
type 是 NetworkInformation 介面的一個只讀屬性,它返回裝置用於與網路通訊的連線型別。
值
一個列舉值,取值範圍如下:
"bluetooth""cellular""ethernet""none""wifi""wimax""other""unknown"(未知)
規範
| 規範 |
|---|
| Network Information API # dom-networkinformation-type |
瀏覽器相容性
載入中…