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