LocaleConfig.Status Property

Definition

Get the status of reading the resource file where the LocaleConfig was stored.

public virtual int Status { [Android.Runtime.Register("getStatus", "()I", "GetGetStatusHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getStatus", "()I", "GetGetStatusHandler", ApiSince=33)>]
member this.Status : int

Property Value

STATUS_SUCCESS if the LocaleConfig structure existed in an XML file was successfully read, or STATUS_NOT_SPECIFIED if no android:localeConfig tag on pointing to an XML file that stores the LocaleConfig, or STATUS_PARSING_FAILED if the application provided malformed input for the LocaleConfig structure. Value is one of the following: STATUS_SUCCESS STATUS_NOT_SPECIFIED STATUS_PARSING_FAILED

Attributes

Remarks

Get the status of reading the resource file where the LocaleConfig was stored. Distinguish "the application didn't provide the resource file" from "the application provided malformed input" if getSupportedLocales() returns null.

See also:

Android reference for android.app.LocaleConfig.getStatus.

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