Partager via


TelephonyManager.ActionNetworkCountryChanged Field

Definition

Broadcast intent action for network country code changes.

[Android.Runtime.Register("ACTION_NETWORK_COUNTRY_CHANGED", ApiSince=29)]
public const string ActionNetworkCountryChanged;
[<Android.Runtime.Register("ACTION_NETWORK_COUNTRY_CHANGED", ApiSince=29)>]
val mutable ActionNetworkCountryChanged : string

Field Value

Attributes

Remarks

Broadcast intent action for network country code changes.

The #EXTRA_NETWORK_COUNTRY extra indicates the country code of the current network returned by #getNetworkCountryIso().

There may be a delay of several minutes before reporting that no country is detected.

Java documentation for android.telephony.TelephonyManager.ACTION_NETWORK_COUNTRY_CHANGED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to