unity中如何检测网络状态
来源:互联网 发布:手游推荐知乎 编辑:程序博客网 时间:2024/04/30 06:31
static var internetReachability : NetworkReachability
Description
Returns the type of Internet reachability currently possible on the device.
This property is mostly useful on handhelds to distinguish fast and cheap WiFi connection from carrier networking.
Note: Do not use this property to determine the actual connectivity. E.g. the device can be connected to a hot spot, but not have the actual route to the network. Non-handhelds are considered to always be capable of NetworkReachability.ReachableViaLocalAreaNetwork.
NetworkReachability
Enumeration
Describes network reachability options.
Network is not reachable
ReachableViaCarrierDataNetworkNetwork is reachable via carrier data network
ReachableViaLocalAreaNetworkNetwork is reachable via WiFi or cable
Ping
Ping any given IP address (given in dot notation).
The ping operation is asynchronous and a ping object can be polled for status using Ping.isDone. When a response is received it is in Ping.time.
Has the ping function completed?
timeThis property contains the ping time result after isDone returns true.
ipThe IP target of the ping.
Perform a ping to the supplied target IP address.
- unity中如何检测网络状态
- 如何去检测网络的连接状态
- Linux下如何实现网络状态检测
- 在AppDelegate中检测当前网络状态
- 【Unity】Unity 获取网络状态
- unity判断网络状态
- 网络状态检测
- 检测网络状态
- 检测网络状态
- Iphone检测网络状态
- android检测网络状态
- android 检测网络状态
- android网络状态检测
- iOS---检测网络状态
- Reachability检测网络状态
- ios 检测网络状态
- 检测iOS网络状态
- 检测网络链接状态
- js-鼠标事件大全
- PHP错误级别
- 获取进程启动时间
- ZOJ2723 Semi_Primer
- Jersey 框架取到所有参数的方法
- unity中如何检测网络状态
- effective java(泛型)
- remake学习笔记
- Java 得到一个类里面的方法和属性
- 第一章小计
- 觉得很有用 粘下来看看 对应届生作用大点
- 学会订阅实时书签,让信息随心而动!
- AVL 平衡二叉树
- win7不能删除文件夹(您需要来自administrators的权限才能对此文件夹进行更改)