다음을 통해 공유


Intent.ActionLocaleChanged Field

Definition

Broadcast Action: The receiver's effective locale has changed.

[Android.Runtime.Register("ACTION_LOCALE_CHANGED")]
public const string ActionLocaleChanged;
[<Android.Runtime.Register("ACTION_LOCALE_CHANGED")>]
val mutable ActionLocaleChanged : string

Field Value

Implements

Attributes

Remarks

Broadcast Action: The receiver's effective locale has changed.

This happens when the device locale, the receiving app's locale (set via android.app.LocaleManager#setApplicationLocales) or language tags of Regional preferences changed.

Can be received by manifest-declared receivers.

<p class="note"> If only the app locale changed, includes the following extras: <ul> <li>#EXTRA_PACKAGE_NAME is the name of the package for which locale changed. <li>#EXTRA_LOCALE_LIST contains locales that are currently set for specified app </ul>

<p class="note">This is a protected intent that can only be sent by the system.

Java documentation for android.content.Intent.ACTION_LOCALE_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