1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/*!
\page networking-status Networking Status
Applications needing to access the overall system networking status must access the
lomiri::connectivity::NetworkingStatus class. The class has properties
for the networking status and connection limitations of the system networking.
Accessing the networking status from confined applications requires
the <i>connectivity</i> policy group.
\section Setup
Manager is accessed by including the appropriate header:
\snippet example_networking_status.cpp include
and then creating an instance of the NetworkingStatus:
\snippet example_networking_status.cpp create networkingstatus
\section sec_networking_status Networking Status
\subsection sec_networking_status_status Status
The status of the system networking can be accessed through the lomiri::connectivity::NetworkingStatus::status property:
\snippet example_networking_status.cpp status
\subsection sec_networking_status_limitations Limitations
The limitations can be accessed through the lomiri::connectivity::NetworkingStatus::limitations property:
\snippet example_networking_status.cpp limitations
---
The complete example (found in <i>examples/example_networking_status.cpp</i>):
\include example_networking_status.cpp
*/
|