class ClientProvider

Defined at line 4725 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

The ClientProvider API provides a mechanism for wlan control and is intended

to be called by applications or entities representing the user (ex, Settings).

This API is not intended to be called by other applications to change wlan

state without explicit user control.

The second aim of this API design is to eliminate the "last-caller wins"

paradigm by limiting the number of controlling applications. A single caller

at a time is permitted to make API calls that impact wlan state.

Public Members

static const char[] Name_

Public Methods

void ~ClientProvider ()
void GetController (::fidl::InterfaceRequest< ::fuchsia::wlan::policy::ClientController> requests, ::fidl::InterfaceHandle< ::fuchsia::wlan::policy::ClientStateUpdates> updates)

Control channel used by a single caller to trigger wlan client mode state

changes. The caller also provides a channel to receive wlan updates.

Only one caller can have the control channel open at a time. Attempts to

register as a controller while there is an active control registration

will result in the new caller's provided channel being closed.