如何在 Windows Runtime JavaScript App 中获取 os 和设备信息?
How get os and device info in Windows Runtime JavaScript App?
我正在使用分析来更好地了解用户配置文件。我需要一些信息,例如 OS 版本和设备信息(不是传感器信息,而是制造商、phone 型号等)。
我在 documentation 中没有发现任何明显的内容。
我的应用程序是通用 Windows 平台 (UWP) JavaScript 应用程序
您要查找的大部分信息都在 Windows.System.Profile.AnalyticsInfo
class。
更多信息可通过 Windows.System.Profile
命名空间获得。
我正在使用分析来更好地了解用户配置文件。我需要一些信息,例如 OS 版本和设备信息(不是传感器信息,而是制造商、phone 型号等)。
我在 documentation 中没有发现任何明显的内容。
我的应用程序是通用 Windows 平台 (UWP) JavaScript 应用程序
您要查找的大部分信息都在 Windows.System.Profile.AnalyticsInfo
class。
更多信息可通过 Windows.System.Profile
命名空间获得。