MozMobileNetworkInfo.mcc

  • Revision slug: Web/API/MozMobileNetworkInfo.mcc
  • Revision title: MozMobileNetworkInfo.mcc
  • Revision id: 469387
  • Created:
  • Creator: kscarfone
  • Is current revision? No
  • Comment Updated tags

Revision Content

{{ domref() }}

{{ non-standard_header() }}

{{ B2GOnlyHeader2('certified') }}

Summary

The mcc is a read-only property that represents the Mobile Country Code (MCC) of the network operator.

Syntax

var mcc = navigator.mozMobileConnection.data.network.mcc

Value

Return a number.

Specification

Not part of any specification.

See also

  • {{domxref("MozMobileNetworkInfo")}}
  • {{domxref("MozMobileConnection")}}
  • {{domxref("MozMobileConnectionInfo")}}

Revision Source

<p>{{ domref() }}</p>
<p>{{ non-standard_header() }}</p>
<p>{{ B2GOnlyHeader2('certified') }}</p>
<h2 id="Summary">Summary</h2>
<p>The <code>mcc</code> is a read-only property that represents the <a class="external" href="http://en.wikipedia.org/wiki/Mobile_country_code" rel="external" title="http://en.wikipedia.org/wiki/Mobile_country_code">Mobile Country Code (MCC)</a> of the network operator.</p>
<h2 id="Syntax">Syntax</h2>
<pre>
var mcc = navigator.mozMobileConnection.data.network.mcc</pre>
<h2 id="Value">Value</h2>
<p>Return a number.</p>
<h2 id="Specification" name="Specification">Specification</h2>
<p>Not part of any specification.</p>
<h2 id="See_also">See also</h2>
<ul>
  <li>{{domxref("MozMobileNetworkInfo")}}</li>
  <li>{{domxref("MozMobileConnection")}}</li>
  <li>{{domxref("MozMobileConnectionInfo")}}</li>
</ul>
Revert to this revision