connectionreporter:这是适用于 Android 和 iOS 的 Appcelerator Titanium 模块

时间:2021-07-05 08:51:26
【文件属性】:
文件名称:connectionreporter:这是适用于 Android 和 iOS 的 Appcelerator Titanium 模块
文件大小:214KB
文件格式:ZIP
更新时间:2021-07-05 08:51:26
Python 连接记者 Appcelerator Titanium 模块 这是一个用于报告 Internet 连接类型的 Appcelerator Titanium 移动模块,因为 Appcelerator Titanium 的 ti.network 只报告设备是在线还是离线。 创建此模块是因为我需要在触发网络更改事件时获取设备获得的连接类型,因此我可以以更具体的方式处理请求。 如何使用 如果你想简单地使用这个模块,只需下载 dist/modules 文件夹并将其内容复制到您的计算机中的 Titanium SDK modules 文件夹下。 该模块可以在您的 Titanium 项目中选择,同时兼容 iOS 和 Android 平台。 该模块公开了一个方法 .getConnectionType() ,该方法返回一个带有网络类型名称的字符串。 可能的名称有无、未知、未知网络、未知移动、GPRS、EDG
【文件预览】:
connectionreporter-master
----.gitignore(45B)
----connectionreporter-ios()
--------documentation()
--------manifest(195B)
--------assets()
--------LICENSE(78B)
--------LICENSE.txt(92B)
--------iphone()
--------README.md(1KB)
--------.project(568B)
--------example()
--------CHANGELOG.txt(95B)
----dist()
--------modules()
----README.md(1KB)
----connectionreporter-android()
--------documentation()
--------manifest(199B)
--------android()
--------assets()
--------LICENSE(78B)
--------LICENSE.txt(92B)
--------README.md(1KB)
--------.project(572B)
--------example()
--------CHANGELOG.txt(95B)

网友评论