Compartilhar via


UScript Class

Definition

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
UScript
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

Adlam

ISO 15924 script code

Afaka

ISO 15924 script code

Ahom

ISO 15924 script code

AnatolianHieroglyphs

ISO 15924 script code

Arabic

Arabic

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

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
Cirth

ISO 15924 script code

Common

Common

Coptic

Coptic

Cuneiform

ISO 15924 script code

Cypriot

Cypriot Script in Unicode 4

CyproMinoan
Cyrillic

Cyrillic

DemoticEgyptian

ISO 15924 script code

Deseret

Deseret

Devanagari

Devanagari

DivesAkuru
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
EstrangeloSyriac

ISO 15924 script code

Ethiopic

Ethiopic

Georgian

Georgian

Glagolitic

Script in Unicode 4.

Gothic

Gothic

Grantha

ISO 15924 script code

Greek

Greek

Gujarati

Gujarati

GunjalaGondi
Gurmukhi

Gurmukhi

Han

Han

Hangul

Hangul

HanifiRohingya
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
KayahLi

ISO 15924 script code

Kharoshthi

Script in Unicode 4.

KhitanSmallScript
Khmer

Khmer

Khojki

ISO 15924 script code

Khudawadi

ISO 15924 script code

Khutsuri

ISO 15924 script code

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
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
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
NakhiGeba

ISO 15924 script code

Nandinagari
Newa

ISO 15924 script code

NewTaiLue

Script in Unicode 4.

Nko

ISO 15924 script code

Nushu

ISO 15924 script code

NyiakengPuachueHmong
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
OldSouthArabian

ISO 15924 script code

OldUyghur
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

SignWriting

ISO 15924 script code for Sutton SignWriting

SimplifiedHan

ISO 15924 script code

Sindhi

ISO 15924 script code

Sinhala

Sinhala

Sogdian
SoraSompeng

ISO 15924 script code

Soyombo

ISO 15924 script code

Sundanese

ISO 15924 script code

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

Takri

ISO 15924 script code

Tamil

Tamil

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

Toto
TraditionalHan

ISO 15924 script code

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
Wancho
WarangCiti

ISO 15924 script code

WesternSyriac

ISO 15924 script code

Woleai

ISO 15924 script code

Yezidi
Yi

Yi syllables

ZanabazarSquare

ISO 15924 script code

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (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

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)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
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)
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()

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)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (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

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to