UScript Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constants for ISO 15924 script codes, and related functions.
[Android.Runtime.Register("android/icu/lang/UScript", ApiSince=24, DoNotGenerateAcw=true)]
public sealed class UScript : Java.Lang.Object
[<Android.Runtime.Register("android/icu/lang/UScript", ApiSince=24, DoNotGenerateAcw=true)>]
type UScript = class
inherit Object
- Inheritance
- Attributes
Remarks
Constants for ISO 15924 script codes, and related functions.
The current set of script code constants supports at least all scripts that are encoded in the version of Unicode which ICU currently supports. The names of the constants are usually derived from the Unicode script property value aliases. See UAX #24 Unicode Script Property (http://www.unicode.org/reports/tr24/) and http://www.unicode.org/Public/UCD/latest/ucd/PropertyValueAliases.txt .
In addition, constants for many ISO 15924 script codes are included, for use with language tags, CLDR data, and similar. Some of those codes are not used in the Unicode Character Database (UCD). For example, there are no characters that have a UCD script property value of Hans or Hant. All Han ideographs have the Hani script property value in Unicode.
Private-use codes Qaaa..Qabx are not included, except as used in the UCD or in CLDR.
Starting with ICU 55, script codes are only added when their scripts have been or will certainly be encoded in Unicode, and have been assigned Unicode script property value aliases, to ensure that their script names are stable and match the names of the constants. Script codes like Latf and Aran that are not subject to separate encoding may be added at any time.
Java documentation for android.icu.lang.UScript.
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.
Fields
| Name | Description |
|---|---|
| Adlam |
ISO 15924 script code |
| Afaka |
ISO 15924 script code |
| Ahom |
ISO 15924 script code |
| AnatolianHieroglyphs |
ISO 15924 script code |
| Arabic |
Arabic |
| ArabicNastaliq |
The ICU script code for Arabic (Nastaliq variant) ( |
| Armenian |
Armenian |
| Avestan |
ISO 15924 script code |
| Balinese |
ISO 15924 script code |
| Bamum |
ISO 15924 script code |
| BassaVah |
ISO 15924 script code |
| Batak |
ISO 15924 script code |
| Bengali |
Bengali |
| BeriaErfe |
The ICU script code for Beria Erfe ( |
| Bhaiksuki |
ISO 15924 script code |
| Blissymbols |
ISO 15924 script code |
| BookPahlavi |
ISO 15924 script code |
| Bopomofo |
Bopomofo |
| Brahmi |
ISO 15924 script code |
| Braille |
Braille Script in Unicode 4 |
| Buginese |
Script in Unicode 4. |
| Buhid |
Buhid |
| CanadianAboriginal |
Unified Canadian Aboriginal Symbols |
| Carian |
ISO 15924 script code |
| CaucasianAlbanian |
ISO 15924 script code |
| Chakma |
ISO 15924 script code |
| Cham |
ISO 15924 script code |
| Cherokee |
Cherokee |
| Chorasmian |
The ICU script code for Chorasmian ( |
| Cirth |
ISO 15924 script code |
| Common |
Common |
| Coptic |
Coptic |
| Cuneiform |
ISO 15924 script code |
| Cypriot |
Cypriot Script in Unicode 4 |
| CyproMinoan |
The ICU script code for Cypro Minoan ( |
| Cyrillic |
Cyrillic |
| DemoticEgyptian |
ISO 15924 script code |
| Deseret |
Deseret |
| Devanagari |
Devanagari |
| DivesAkuru |
The ICU script code for Dives Akuru ( |
| Dogra |
ISO 15924 script code |
| Duployan |
ISO 15924 script code |
| EasternSyriac |
ISO 15924 script code |
| EgyptianHieroglyphs |
ISO 15924 script code |
| Elbasan |
ISO 15924 script code |
| Elymaic |
The ICU script code for Elymaic ( |
| EstrangeloSyriac |
ISO 15924 script code |
| Ethiopic |
Ethiopic |
| Garay |
The ICU script code for Garay ( |
| Georgian |
Georgian |
| Glagolitic |
Script in Unicode 4. |
| Gothic |
Gothic |
| Grantha |
ISO 15924 script code |
| Greek |
Greek |
| Gujarati |
Gujarati |
| GunjalaGondi |
The ICU script code for Gunjala Gondi ( |
| Gurmukhi |
Gurmukhi |
| GurungKhema |
The ICU script code for Gurung Khema ( |
| Han |
Han |
| Hangul |
Hangul |
| HanifiRohingya |
The ICU script code for Hanifi Rohingya ( |
| Hanunoo |
Hanunooo |
| HanWithBopomofo |
ISO 15924 script code |
| HarappanIndus |
ISO 15924 script code |
| Hatran |
ISO 15924 script code |
| Hebrew |
Hebrew |
| HieraticEgyptian |
ISO 15924 script code |
| Hiragana |
Hiragana |
| ImperialAramaic |
ISO 15924 script code |
| Inherited |
Inherited |
| InscriptionalPahlavi |
ISO 15924 script code |
| InscriptionalParthian |
ISO 15924 script code |
| InvalidCode |
Invalid code |
| Jamo |
ISO 15924 script code |
| Japanese |
ISO 15924 script code |
| Javanese |
ISO 15924 script code |
| Jurchen |
ISO 15924 script code |
| Kaithi |
ISO 15924 script code |
| Kannada |
Kannada |
| Katakana |
Katakana |
| KatakanaOrHiragana |
Script in Unicode 4. |
| Kawi |
The ICU script code for Kawi ( |
| KayahLi |
ISO 15924 script code |
| Kharoshthi |
Script in Unicode 4. |
| KhitanSmallScript |
The ICU script code for Khitan Small Script ( |
| Khmer |
Khmer |
| Khojki |
ISO 15924 script code |
| Khudawadi |
ISO 15924 script code |
| Khutsuri |
ISO 15924 script code |
| KiratRai |
The ICU script code for Kirat Rai ( |
| Korean |
ISO 15924 script code |
| Kpelle |
ISO 15924 script code |
| Lanna |
ISO 15924 script code |
| Lao |
Lao |
| Latin |
Latin |
| LatinFraktur |
ISO 15924 script code |
| LatinGaelic |
ISO 15924 script code |
| Lepcha |
ISO 15924 script code |
| Limbu |
Limbu Script in Unicode 4 |
| LinearA |
ISO 15924 script code |
| LinearB |
Linear B Script in Unicode 4 |
| Lisu |
ISO 15924 script code |
| Loma |
ISO 15924 script code |
| Lycian |
ISO 15924 script code |
| Lydian |
ISO 15924 script code |
| Mahajani |
ISO 15924 script code |
| Makasar |
The ICU script code for Makasar ( |
| Malayalam |
Malayalam |
| Mandaean |
ISO 15924 script code |
| Mandaic |
ISO 15924 script code |
| Manichaean |
ISO 15924 script code |
| Marchen |
ISO 15924 script code |
| MasaramGondi |
ISO 15924 script code |
| MathematicalNotation |
ISO 15924 script code |
| MayanHieroglyphs |
ISO 15924 script code |
| Medefaidrin |
The ICU script code for Medefaidrin ( |
| MeiteiMayek |
ISO 15924 script code |
| Mende |
Mende Kikakui ISO 15924 script code |
| Meroitic |
ISO 15924 script code |
| MeroiticCursive |
ISO 15924 script code |
| MeroiticHieroglyphs |
ISO 15924 script code |
| Miao |
ISO 15924 script code |
| Modi |
ISO 15924 script code |
| Mongolian |
Mangolian |
| Moon |
ISO 15924 script code |
| Mro |
ISO 15924 script code |
| Multani |
ISO 15924 script code |
| Myanmar |
Myammar |
| Nabataean |
ISO 15924 script code |
| NagMundari |
The ICU script code for Nag Mundari ( |
| NakhiGeba |
ISO 15924 script code |
| Nandinagari |
The ICU script code for Nandinagari ( |
| Newa |
ISO 15924 script code |
| NewTaiLue |
Script in Unicode 4. |
| Nko |
ISO 15924 script code |
| Nushu |
ISO 15924 script code |
| NyiakengPuachueHmong |
The ICU script code for Nyiakeng Puachue Hmong ( |
| Ogham |
Ogham |
| OlChiki |
ISO 15924 script code |
| OldChurchSlavonicCyrillic |
ISO 15924 script code |
| OldHungarian |
ISO 15924 script code |
| OldItalic |
Old Itallic |
| OldNorthArabian |
ISO 15924 script code |
| OldPermic |
ISO 15924 script code |
| OldPersian |
Script in Unicode 4. |
| OldSogdian |
The ICU script code for Old Sogdian ( |
| OldSouthArabian |
ISO 15924 script code |
| OldUyghur |
The ICU script code for Old Uyghur ( |
| OlOnal |
The ICU script code for Ol Onal ( |
| Oriya |
Oriya |
| Orkhon |
ISO 15924 script code |
| Osage |
ISO 15924 script code |
| Osmanya |
Osmanya Script in Unicode 4 |
| PahawhHmong |
ISO 15924 script code |
| Palmyrene |
ISO 15924 script code |
| PauCinHau |
ISO 15924 script code |
| PhagsPa |
ISO 15924 script code |
| Phoenician |
ISO 15924 script code |
| PhoneticPollard |
ISO 15924 script code |
| PsalterPahlavi |
ISO 15924 script code |
| Rejang |
ISO 15924 script code |
| Rongorongo |
ISO 15924 script code |
| Runic |
Runic |
| Samaritan |
ISO 15924 script code |
| Sarati |
ISO 15924 script code |
| Saurashtra |
ISO 15924 script code |
| Sharada |
ISO 15924 script code |
| Shavian |
Shavian Script in Unicode 4 |
| Siddham |
ISO 15924 script code |
| Sidetic |
The ICU script code for Sidetic ( |
| SignWriting |
ISO 15924 script code for Sutton SignWriting |
| SimplifiedHan |
ISO 15924 script code |
| Sindhi |
ISO 15924 script code |
| Sinhala |
Sinhala |
| Sogdian |
The ICU script code for Sogdian ( |
| SoraSompeng |
ISO 15924 script code |
| Soyombo |
ISO 15924 script code |
| Sundanese |
ISO 15924 script code |
| Sunuwar |
The ICU script code for Sunuwar ( |
| SylotiNagri |
Script in Unicode 4. |
| Symbols |
ISO 15924 script code |
| SymbolsEmoji |
ISO 15924 script code |
| Syriac |
Syriac |
| Tagalog |
Tagalog |
| Tagbanwa |
Tagbanwa |
| TaiLe |
Tai Le Script in Unicode 4 |
| TaiViet |
ISO 15924 script code |
| TaiYo |
The ICU script code for Tai Yo ( |
| Takri |
ISO 15924 script code |
| Tamil |
Tamil |
| Tangsa |
The ICU script code for Tangsa ( |
| Tangut |
ISO 15924 script code |
| Telugu |
Telugu |
| Tengwar |
ISO 15924 script code |
| Thaana |
Thana |
| Thai |
Thai |
| Tibetan |
Tibetan |
| Tifinagh |
Script in Unicode 4. |
| Tirhuta |
ISO 15924 script code |
| Todhri |
The ICU script code for Todhri ( |
| TolongSiki |
The ICU script code for Tolong Siki ( |
| Toto |
The ICU script code for Toto ( |
| TraditionalHan |
ISO 15924 script code |
| TraditionalHanWithLatin |
The ICU script code for Han (Traditional variant) with Latin (alias for Hant + Latn) ( |
| TuluTigalari |
The ICU script code for Tulu Tigalari ( |
| Ucas |
Unified Canadian Aboriginal Symbols (alias) |
| Ugaritic |
Ugaritic Script in Unicode 4 |
| Unknown |
ISO 15924 script code |
| UnwrittenLanguages |
ISO 15924 script code |
| Vai |
ISO 15924 script code |
| VisibleSpeech |
ISO 15924 script code |
| Vithkuqi |
The ICU script code for Vithkuqi ( |
| Wancho |
The ICU script code for Wancho ( |
| WarangCiti |
ISO 15924 script code |
| WesternSyriac |
ISO 15924 script code |
| Woleai |
ISO 15924 script code |
| Yezidi |
The ICU script code for Yezidi ( |
| Yi |
Yi syllables |
| ZanabazarSquare |
ISO 15924 script code |
Properties
| Name | Description |
|---|---|
| Class |
Returns the runtime class of this |
| Handle |
The handle to the underlying Android instance. (Inherited from Object) |
| JniIdentityHashCode |
Gets the identity hash code assigned to this Java peer by the interop runtime. (Inherited from Object) |
| JniManagedPeerState |
Gets the state flags last assigned by the runtime. (Inherited from JavaObject) |
| JniPeerMembers |
Gets the JNI metadata used to access members of this Java binding. |
| PeerReference |
Gets the JNI object reference for this Java peer. (Inherited from Object) |
| ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
| ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
Methods
| Name | Description |
|---|---|
| BreaksBetweenLetters(Int32) |
Returns true if the script allows line breaks between letters (excluding hyphenation). |
| Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
| Construct(JniObjectReference, JniObjectReferenceOptions) |
Delegates construction of this peer to the runtime's value manager. (Inherited from JavaObject) |
| Dispose() |
Releases the resources held by this Java peer. (Inherited from Object) |
| Dispose(Boolean) |
Releases the resources held by this Java peer. (Inherited from Object) |
| DisposeUnlessReferenced() |
Asks the value manager to dispose this peer unless its mapping retains this same managed instance. (Inherited from JavaObject) |
| Equals(Object) |
Tests whether another managed peer refers to the same Java object. (Inherited from JavaObject) |
| Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
| GetCode(Locale) |
Gets a script codes associated with the given locale or ISO 15924 abbreviation or name. |
| GetCode(String) |
Gets the script codes associated with the given locale or ISO 15924 abbreviation or name. |
| GetCode(ULocale) |
Gets a script codes associated with the given locale or ISO 15924 abbreviation or name. |
| GetCodeFromName(String) |
Returns the script code associated with the given Unicode script property alias (name or abbreviation). |
| GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
| GetName(Int32) |
Returns the long Unicode script name, if there is one. |
| GetSampleString(Int32) |
Returns the script sample character string. |
| GetScript(Int32) |
Gets the script code associated with the given codepoint. |
| GetScriptExtensions(Int32, BitSet) |
Sets code point c's Script_Extensions as script code integers into the output BitSet. |
| GetShortName(Int32) |
Returns the 4-letter ISO 15924 script code, which is the same as the short Unicode script name if Unicode has names for the script. |
| GetUsage(Int32) |
Returns the script usage according to UAX #31 Unicode Identifier and Pattern Syntax. |
| HasScript(Int32, Int32) |
Do the Script_Extensions of code point c contain script sc? If c does not have explicit Script_Extensions, then this tests whether c has the Script property value sc. |
| IsCased(Int32) |
Returns true if in modern (or most recent) usage of the script case distinctions are customary. |
| IsRightToLeft(Int32) |
Returns true if the script is written right-to-left. |
| JavaFinalize() |
Obsolete.
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
| Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
| NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
| SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
| SetPeerReference(JniObjectReference, JniObjectReferenceOptions) |
Stores a reference value in the control block without creating a JNI reference copy. (Inherited from JavaObject) |
| ToArray<T>() |
Creates a managed array from this Java array wrapper. (Inherited from Object) |
| ToString() |
Returns a string representation of the object. (Inherited from Object) |
| UnregisterFromRuntime() |
Unregisters this Java peer from the interop runtime. (Inherited from Object) |
| Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
| Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
| Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJavaPeerable.Disposed() |
Marks this peer as disposed and calls |
| IJavaPeerable.Finalized() |
Marks this peer as disposed and calls |
| IJavaPeerable.JniObjectReferenceControlBlock |
Gets the native control-block pointer used by this peer. (Inherited from JavaObject) |
| IJavaPeerable.SetJniIdentityHashCode(Int32) |
Stores the identity hash code supplied by the runtime. (Inherited from JavaObject) |
| IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
Replaces the stored managed peer state flags. (Inherited from JavaObject) |
| IJavaPeerable.SetPeerReference(JniObjectReference) |
Updates the peer reference and releases a disposed peer's control block when the reference is invalid. (Inherited from JavaObject) |
Extension Methods
| Name | Description |
|---|---|
| GetJniTypeName(IJavaPeerable) |
Gets the JNI name of the type of the instance |
| JavaAs<TResult>(IJavaPeerable) |
Try to coerce |
| JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
| JavaCast<TResult>(IJavaObject) |
Reuses a compatible managed peer or obtains a wrapper of the requested type. |
| TryJavaCast<TResult>(IJavaPeerable, TResult) |
Try to coerce |