pub enum AccessPointProviderRequest {
GetController {
requests: ServerEnd<AccessPointControllerMarker>,
updates: ClientEnd<AccessPointStateUpdatesMarker>,
control_handle: AccessPointProviderControlHandle,
},
}
Expand description
The AccessPointProvider API provides a mechanism for access point 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.
Variants§
GetController
Control channel used by a single caller to trigger wlan access point (ap) mode state changes. The caller also provides a channel to receive wlan ap 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.
Fields
requests: ServerEnd<AccessPointControllerMarker>
updates: ClientEnd<AccessPointStateUpdatesMarker>
control_handle: AccessPointProviderControlHandle
Implementations§
Source§impl AccessPointProviderRequest
impl AccessPointProviderRequest
pub fn into_get_controller( self, ) -> Option<(ServerEnd<AccessPointControllerMarker>, ClientEnd<AccessPointStateUpdatesMarker>, AccessPointProviderControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL