bn.getDeviceInfo
▸ getDeviceInfo(): DeviceInfo
description
The api to get system window info
remark
supported jssdk >= 4.0.0
example
Returns
DeviceInfo
DeviceInfo
#
DeviceInfoƬ DeviceInfo: Object
Type declaration
Name | Type | Description |
---|---|---|
brand | string | Equipment brand |
model | string | Device model. New models will show unknown for a while, WeChat will adapt as soon as possible. |
system | string | Operating System and Version |
platform | string | Client platform |