目录

INetworkCallback

Interface Info

public interface INetworkCallback extends IInterface

定义双Wi-Fi服务回调接口。

Nested Class Summary

Qualifier and Type

Class Name and Description

public abstract static class

Stub

AIDL接口INetworkCallback的Stub类。

Public Method Summary

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连接的网络发生网络丢失时的回调接口。

Public Methods

[h2]onAvailable

Method

void onAvailable(in Network network) throws RemoteException

Wi-Fi2连接并就绪时的回调接口。

Parameters

Name

Description

network

所连接上的网络。

[h2]onUnavailable

Method

void onUnavailable() throws RemoteException

指定的超时时间内(当前超时时间为6s),Wi-Fi2未连接到连接网络的回调接口。

[h2]onLost

Method

void onLost(in Network network) throws RemoteException

Wi-Fi2连接的网络发生网络丢失时的回调接口。

Parameters

Name

Description

network

连接上的网络。