chrome.enterprise.hardwarePlatform

説明

chrome.enterprise.hardwarePlatform API を使用すると、ブラウザが動作しているハードウェア プラットフォームのメーカーと機種を取得できます。注: この API は、企業ポリシーによってインストールされた拡張機能でのみ利用できます。

権限

enterprise.hardwarePlatform

対象

Chrome 71 以降 ポリシーが必要

HardwarePlatformInfo

プロパティ

  • メーカー

    文字列

  • モデル

    文字列

メソッド

getHardwarePlatformInfo()

chrome.enterprise.hardwarePlatform.getHardwarePlatformInfo(): Promise<HardwarePlatformInfo>

ハードウェア プラットフォームのメーカーとモデルを取得し、拡張機能が承認されている場合は callback を介して返します。

戻り値