Locale.DisplayScript Property

Definition

Returns a name for the locale's script that is appropriate for display to the user.

public string DisplayScript { [Android.Runtime.Register("getDisplayScript", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getDisplayScript", "()Ljava/lang/String;", "")>]
member this.DisplayScript : string

Property Value

the display name of the script code for the current default Locale.Category#DISPLAY DISPLAY locale

Attributes

Remarks

Returns a name for the locale's script that is appropriate for display to the user. If possible, the name will be localized for the default Locale.Category#DISPLAY DISPLAY locale. Returns the empty string if this locale doesn't specify a script code.

Added in 1.7.

Java documentation for java.util.Locale.getDisplayScript().

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