UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

22 lines (12 loc) 452 B
[**minigame-std**](../../../README.md) *** [minigame-std](../../../README.md) / [platform](../README.md) / getDeviceInfo # Function: getDeviceInfo() ```ts function getDeviceInfo(): DeviceInfo ``` Defined in: [src/std/platform/device.ts:7](https://github.com/JiangJie/minigame-std/blob/ff3594872b1efbdbc13aabe99588385e855b50dc/src/std/platform/device.ts#L7) 获取设备信息。 ## Returns `DeviceInfo` 返回小游戏的设备信息对象。