get_operator_code


Description:

[ Version ( since = "1.18" ) ]
public unowned string get_operator_code ()

Gets the 3GPP network Mobile Country Code and Mobile Network Code.

Returned in the format <literal>"MCCMNC"</literal>, where <literal>MCC</literal> is the three-digit ITU E.212 Mobile Country Code and <literal>MNC</literal> is the two- or three-digit GSM Mobile Network Code. e.g. e<literal> "31026"</literal> or <literal>"310260"</literal>.

Parameters:

this

A Location3gpp.

Returns:

The operator code, or null if none available.