Top |
Functions
Properties
gchar * | country-codes | Read / Write / Construct Only |
gchar * | service-providers | Read / Write / Construct Only |
Object Hierarchy
GBoxed ├── NMACountryInfo ├── NMAMobileAccessMethod ╰── NMAMobileProvider GObject ╰── NMAMobileProvidersDatabase
Functions
nma_mobile_access_method_ref ()
NMAMobileAccessMethod *
nma_mobile_access_method_ref (NMAMobileAccessMethod *method
);
nma_mobile_access_method_unref ()
void
nma_mobile_access_method_unref (NMAMobileAccessMethod *method
);
nma_mobile_access_method_get_name ()
const gchar *
nma_mobile_access_method_get_name (NMAMobileAccessMethod *method
);
nma_mobile_access_method_get_username ()
const gchar *
nma_mobile_access_method_get_username (NMAMobileAccessMethod *method
);
nma_mobile_access_method_get_password ()
const gchar *
nma_mobile_access_method_get_password (NMAMobileAccessMethod *method
);
nma_mobile_access_method_get_gateway ()
const gchar *
nma_mobile_access_method_get_gateway (NMAMobileAccessMethod *method
);
nma_mobile_access_method_get_dns ()
const gchar **
nma_mobile_access_method_get_dns (NMAMobileAccessMethod *method
);
nma_mobile_access_method_get_3gpp_apn ()
const gchar *
nma_mobile_access_method_get_3gpp_apn (NMAMobileAccessMethod *method
);
nma_mobile_access_method_get_family ()
NMAMobileFamily
nma_mobile_access_method_get_family (NMAMobileAccessMethod *method
);
nma_mobile_provider_ref ()
NMAMobileProvider *
nma_mobile_provider_ref (NMAMobileProvider *provider
);
nma_mobile_provider_get_name ()
const gchar *
nma_mobile_provider_get_name (NMAMobileProvider *provider
);
nma_mobile_provider_get_methods ()
GSList *
nma_mobile_provider_get_methods (NMAMobileProvider *provider
);
Returns
the list of NMAMobileAccessMethod this provider exposes.
[element-type NMAMobileAccessMethod][transfer none]
nma_mobile_provider_get_3gpp_mcc_mnc ()
const gchar **
nma_mobile_provider_get_3gpp_mcc_mnc (NMAMobileProvider *provider
);
nma_mobile_provider_get_cdma_sid ()
const guint32 *
nma_mobile_provider_get_cdma_sid (NMAMobileProvider *provider
);
nma_country_info_get_country_code ()
const gchar *
nma_country_info_get_country_code (NMACountryInfo *country_info
);
nma_country_info_get_country_name ()
const gchar *
nma_country_info_get_country_name (NMACountryInfo *country_info
);
nma_country_info_get_providers ()
GSList *
nma_country_info_get_providers (NMACountryInfo *country_info
);
Returns
the list of NMAMobileProvider this country exposes.
[element-type NMAMobileProvider][transfer none]
nma_mobile_providers_database_new ()
void nma_mobile_providers_database_new (const gchar *country_codes
,const gchar *service_providers
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
nma_mobile_providers_database_new_finish ()
NMAMobileProvidersDatabase * nma_mobile_providers_database_new_finish (GAsyncResult *res
,GError **error
);
Parameters
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
nma_mobile_providers_database_new_sync ()
NMAMobileProvidersDatabase * nma_mobile_providers_database_new_sync (const gchar *country_codes
,const gchar *service_providers
,GCancellable *cancellable
,GError **error
);
nma_mobile_providers_database_get_countries ()
GHashTable *
nma_mobile_providers_database_get_countries
(NMAMobileProvidersDatabase *self
);
Returns
a hash table where keys are country names gchar and values are NMACountryInfo.
[element-type utf8 NMACountryInfo][transfer none]
nma_mobile_providers_database_dump ()
void
nma_mobile_providers_database_dump (NMAMobileProvidersDatabase *self
);
nma_mobile_providers_database_lookup_country ()
NMACountryInfo * nma_mobile_providers_database_lookup_country (NMAMobileProvidersDatabase *self
,const gchar *country_code
);
nma_mobile_providers_database_lookup_3gpp_mcc_mnc ()
NMAMobileProvider * nma_mobile_providers_database_lookup_3gpp_mcc_mnc (NMAMobileProvidersDatabase *self
,const gchar *mccmnc
);
nma_mobile_providers_database_lookup_cdma_sid ()
NMAMobileProvider * nma_mobile_providers_database_lookup_cdma_sid (NMAMobileProvidersDatabase *self
,guint32 sid
);
nma_mobile_providers_split_3gpp_mcc_mnc ()
gboolean nma_mobile_providers_split_3gpp_mcc_mnc (const gchar *mccmnc
,gchar **mcc
,gchar **mnc
);
Splits the input MCCMNC string into separate MCC and MNC strings.