Interface Info |
|---|
public interface INetworkCallback extends IInterface 定义双Wi-Fi服务回调接口。 |
Qualifier and Type |
Class Name and Description |
|---|---|
public abstract static class |
AIDL接口INetworkCallback的Stub类。 |
Qualifier and Type |
Method Name and Description |
|---|---|
void |
onAvailable(Network network) throws RemoteException Wi-Fi2连接并就绪时的回调接口。 |
void |
onUnavailable() throws RemoteException 指定的超时时间内(当前超时时间为6s),Wi-Fi2未连接到连接网络的回调接口。 |
void |
onLost(Network network) throws RemoteException Wi-Fi2连接的网络发生网络丢失时的回调接口。 |
Method |
|---|
void onAvailable(in Network network) throws RemoteException Wi-Fi2连接并就绪时的回调接口。 |
Parameters
Name |
Description |
|---|---|
network |
所连接上的网络。 |