class Delegate

Defined at line 38 of file ../../src/connectivity/weave/adaptation/network_provisioning_server_impl.h

Delegate class to handle platform-specific implementation of the

NetworkProvisioningServer API surface. This enables tests to swap out the

implementation of the static NetworkProvisioningServer instance.

Public Methods

WEAVE_ERROR Init ()

Initializes delegate state.

WEAVE_ERROR GetWiFiStationProvision (NetworkInfo & net_info, bool include_credentials)

Returns current WiFi station provision info.

void ~Delegate ()

Defined at line 40 of file ../../src/connectivity/weave/adaptation/network_provisioning_server_impl.h

void SetNetworkProvisioningServerImpl (NetworkProvisioningServerImpl * impl)

Provides a handle to NetworkProvisioningServerImpl object that this delegate

was attached to.

Defined at line 44 of file ../../src/connectivity/weave/adaptation/network_provisioning_server_impl.h

void SetWlanNetworkConfigProvider (::fidl::InterfaceHandle<class ::fuchsia::weave::WlanNetworkConfigProvider> provider)

Set WLAN Network Config Provider which can be used to watch WLAN network provision updates.

void OnWlanNetworkUpdate (::fuchsia::wlan::policy::NetworkConfig current_network_config)

Callback function for WLAN network provision updates.