Skip to content

NetworkReachability self setOnNetworkStateChange function

xu.jingyu edited this page Jan 14, 2020 · 4 revisions

简介

设置监听网络状态改变回调

  • @param callback function 网络状态变换的回调,格式为: function(state) --- state NetworkState 网络状态, 见NetworkState end
Clone this wiki locally