Bumping manifests a=b2g-bump
[gecko.git] / dom / webidl / MozMobileNetworkInfo.webidl
blob9f02e43122735652c0ebbea059064d54c3948823
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3  * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 enum MobileNetworkState {"available", "connected", "forbidden"};
7 [Pref="dom.mobileconnection.enabled",
8  ChromeConstructor(DOMString? shortName, DOMString? longName, DOMString? mcc,
9                    DOMString? mnc, DOMString? state)]
10 interface MozMobileNetworkInfo
12   /**
13    * Short name of the network operator.
14    */
15   readonly attribute DOMString? shortName;
17   /**
18    * Long name of the network operator.
19    */
20   readonly attribute DOMString? longName;
22   /**
23    * Mobile Country Code (MCC) of the network operator.
24    */
25   readonly attribute DOMString? mcc;
27   /**
28    * Mobile Network Code (MNC) of the network operator.
29    */
30   readonly attribute DOMString? mnc;
32   /**
33    * State of this network operator.
34    */
35   readonly attribute MobileNetworkState? state;