函数:ts.system.devicetype 获取详细型号

函数名称:获取详细型号

函数功能:获取设备详细型号

函数方法

producttype = ts.system.devicetype()

返回值 类型 说明
producttype string 设备详细型号

函数用例

local ts = require("ts")
--获取设备详细型号,安卓不同的手机可能返回空值
--安卓返回的是手机型号
--iOS 机型见附录iOS 机型对照表
producttype = ts.system.devicetype()
dialog(producttype,5)

注意事项

Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""