summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/net/control/state.txt
blob: ff0dc92d5c0146c8cb65f69cfc774b1861b4365d (plain)
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
36
37
38
39
~~Title: Efl.Net.Control.State~~
===== Description =====

%%Provides the global network connectivity state.%%

%%For more details, use %%[[:develop:api:efl:net:control|Efl.Net.Control]]%% access points and their property state.%%

//Since 1.19//

{{page>:develop:api-include:efl:net:control:state:description&nouser&nolink&nodate}}

===== Fields =====

{{page>:develop:api-include:efl:net:control:state:fields&nouser&nolink&nodate}}

  * **offline** - %%No access point is connected.%%
  * **local** - %%At least one access point is connected and the internet connection hasn't been verified.%%
  * **online** - %%At least one access point is connected and the internet has been verified%%

===== Signature =====

<code>
enum Efl.Net.Control.State {
    offline: 0,
    local,
    online
}
</code>

===== C signature =====

<code c>
typedef enum {
    EFL_NET_CONTROL_STATE_OFFLINE = 0,
    EFL_NET_CONTROL_STATE_LOCAL,
    EFL_NET_CONTROL_STATE_ONLINE
} Efl_Net_Control_State;
</code>