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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
package android.net.wimax;
/**
* {@hide}
*/
public class WimaxManagerConstants
{
/**
* Used by android.net.wimax.WimaxManager for handling management of
* Wimax access.
*/
public static final String WIMAX_SERVICE = "WiMax";
/**
* Broadcast intent action indicating that Wimax has been enabled, disabled,
* enabling, disabling, or unknown. One extra provides this state as an int.
* Another extra provides the previous state, if available.
*/
public static final String NET_4G_STATE_CHANGED_ACTION =
"android.net.fourG.NET_4G_STATE_CHANGED";
/**
* The lookup key for an int that indicates whether Wimax is enabled,
* disabled, enabling, disabling, or unknown.
*/
public static final String EXTRA_WIMAX_STATUS = "wimax_status";
/**
* Broadcast intent action indicating that Wimax state has been changed
* state could be scanning, connecting, connected, disconnecting, disconnected
* initializing, initialized, unknown and ready. One extra provides this state as an int.
* Another extra provides the previous state, if available.
*/
public static final String WIMAX_NETWORK_STATE_CHANGED_ACTION =
"android.net.fourG.wimax.WIMAX_NETWORK_STATE_CHANGED";
/**
* Broadcast intent action indicating that Wimax signal level has been changed.
* Level varies from 0 to 3.
*/
public static final String SIGNAL_LEVEL_CHANGED_ACTION =
"android.net.wimax.SIGNAL_LEVEL_CHANGED";
/**
* The lookup key for an int that indicates whether Wimax state is
* scanning, connecting, connected, disconnecting, disconnected
* initializing, initialized, unknown and ready.
*/
public static final String EXTRA_WIMAX_STATE = "WimaxState";
public static final String EXTRA_4G_STATE = "4g_state";
public static final String EXTRA_WIMAX_STATE_INT = "WimaxStateInt";
/**
* The lookup key for an int that indicates whether state of Wimax
* is idle.
*/
public static final String EXTRA_WIMAX_STATE_DETAIL = "WimaxStateDetail";
/**
* The lookup key for an int that indicates Wimax signal level.
*/
public static final String EXTRA_NEW_SIGNAL_LEVEL = "newSignalLevel";
/**
* Indicatates Wimax is disabled.
*/
public static final int NET_4G_STATE_DISABLED = 1;
/**
* Indicatates Wimax is enabled.
*/
public static final int NET_4G_STATE_ENABLED = 3;
/**
* Indicatates Wimax status is known.
*/
public static final int NET_4G_STATE_UNKNOWN = 4;
/**
* Indicatates Wimax is in idle state.
*/
public static final int WIMAX_IDLE = 6;
/**
* Indicatates Wimax is being deregistered.
*/
public static final int WIMAX_DEREGISTRATION = 8;
/**
* Indicatates wimax state is unknown.
*/
public static final int WIMAX_STATE_UNKNOWN = 0;
/**
* Indicatates wimax state is connected.
*/
public static final int WIMAX_STATE_CONNECTED = 7;
/**
* Indicatates wimax state is disconnected.
*/
public static final int WIMAX_STATE_DISCONNECTED = 9;
}
|