mcc_to_iso


Description:


[ Version ( since = "0.4.0" ) ]
public unowned string mcc_to_iso (string mcc) throws Error

Get the ISO 3316-1 country code based on a given mobile country code (MCC).

It's sufficient for the given string to have the MCC as prefix. In other words it is o.k. to pass an IMSI.

On error `NULL` is returned and `error` is set.

Parameters:

mcc

The mcc

Returns:

The country code or NULL.


Namespace: Gm
Package: gmobile