UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

22 lines (12 loc) 454 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:13](https://github.com/JiangJie/minigame-std/blob/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/platform/device.ts#L13) 获取设备信息。 ## Returns `DeviceInfo` 返回小游戏的设备信息对象。