class NetworkState
Defined at line 1678 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
Information about current network connections and attempts.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
NetworkState & set_id (::fuchsia::wlan::policy::NetworkIdentifier _value)
NetworkState & set_state (::fuchsia::wlan::policy::ConnectionState _value)
NetworkState & set_status (::fuchsia::wlan::policy::DisconnectStatus _value)
void NetworkState ()
void NetworkState (NetworkState && other)
void ~NetworkState ()
NetworkState & operator= (NetworkState && other)
::std::unique_ptr<NetworkState> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, NetworkState * _value, size_t _offset)
zx_status_t Clone (NetworkState * _result)
const ::fuchsia::wlan::policy::NetworkIdentifier & id ()
Network id for the current connection (or attempt).
Defined at line 1685 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
bool has_id ()
Defined at line 1689 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
::fuchsia::wlan::policy::NetworkIdentifier * mutable_id ()
Network id for the current connection (or attempt).
Defined at line 1694 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
void clear_id ()
Defined at line 1702 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
const ::fuchsia::wlan::policy::ConnectionState & state ()
Current state for the connection.
Defined at line 1711 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
bool has_state ()
Defined at line 1715 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
::fuchsia::wlan::policy::ConnectionState * mutable_state ()
Current state for the connection.
Defined at line 1720 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
void clear_state ()
Defined at line 1728 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
const ::fuchsia::wlan::policy::DisconnectStatus & status ()
Extra information for debugging or Settings display
Defined at line 1737 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
bool has_status ()
Defined at line 1741 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
::fuchsia::wlan::policy::DisconnectStatus * mutable_status ()
Extra information for debugging or Settings display
Defined at line 1746 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
void clear_status ()
Defined at line 1754 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h