String mc.getDeviceId()
获取设备ID。
返回值
| 类型 | 说明 |
|---|---|
| String | 设备 ID 字符串 (32位长度) |
Tips:
- 由于各系统厂商的隐私限制,无法确保获取的设备ID永久唯一,如用户重置手机等操作会导致重置设备ID。
Press ← or → to navigate between chapters
Press ? to show this help
Press Esc to hide this help
获取设备ID。
| 类型 | 说明 |
|---|---|
| String | 设备 ID 字符串 (32位长度) |
Tips: