libnick 2024.9.2
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
Nickvision::Network::NetworkStateChangedEventArgs Class Reference

An event argument for when the network state is changed. More...

#include <networkstatechangedeventargs.h>

Inheritance diagram for Nickvision::Network::NetworkStateChangedEventArgs:
Nickvision::Events::EventArgs

Public Member Functions

 NetworkStateChangedEventArgs (NetworkState state)
 Constructs a NetworkStateChangedEventArgs.
 
NetworkState getState () const
 Gets the network state.
 
- Public Member Functions inherited from Nickvision::Events::EventArgs
 EventArgs ()=default
 Constructs an EventArgs.
 

Detailed Description

An event argument for when the network state is changed.

Constructor & Destructor Documentation

◆ NetworkStateChangedEventArgs()

Nickvision::Network::NetworkStateChangedEventArgs::NetworkStateChangedEventArgs ( NetworkState state)

Constructs a NetworkStateChangedEventArgs.

Parameters
stateNetworkStae

Member Function Documentation

◆ getState()

NetworkState Nickvision::Network::NetworkStateChangedEventArgs::getState ( ) const

Gets the network state.

Returns
NetworkState

The documentation for this class was generated from the following file: