函数:getNetInterfaces 获取设备接口 IP(仅支持 iOS)

函数名称:获取设备接口 IP

函数功能:获取设备接口 IP

支持版本:专业版 iOS v3.0.4 及其以上版本

引擎版本:iOS v3.0.4 及其以上版本

函数方法

ip = getNetInterfaces()

返回值 类型 说明
ip table 设备接口 IP

函数用例

local ts = require("ts")
local json = ts.json
local ip = getNetInterfaces()
dialog(json.encode(ip))
Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""