Added in API level 24

UnicodeScript

class UnicodeScript
kotlin.Any
   ↳ kotlin.Enum<java.lang.Character.UnicodeScript>
   ↳ java.lang.Character.UnicodeScript

A family of character subsets representing the character scripts defined in the Unicode Standard Annex #24: Script Names. Every Unicode character is assigned to a single Unicode script, either a specific script, such as Latin, or one of the following three special values, Inherited, Common or Unknown.

Summary

Enum values

Unicode script "Adlam".

Unicode script "Ahom".

Unicode script "Anatolian Hieroglyphs".

Unicode script "Arabic".

Unicode script "Armenian".

Unicode script "Avestan".

Unicode script "Balinese".

Unicode script "Bamum".

Unicode script "Bassa Vah".

Unicode script "Batak".

Unicode script "Bengali".

Unicode script "Bhaiksuki".

Unicode script "Bopomofo".

Unicode script "Brahmi".

Unicode script "Braille".

Unicode script "Buginese".

Unicode script "Buhid".

Unicode script "Canadian_Aboriginal".

Unicode script "Carian".

Unicode script "Caucasian Albanian".

Unicode script "Chakma".

Unicode script "Cham".

Unicode script "Cherokee".

Unicode script "Chorasmian".

Unicode script "Common".

Unicode script "Coptic".

Unicode script "Cuneiform".

Unicode script "Cypriot".

Unicode script "Cyrillic".

Unicode script "Deseret".

Unicode script "Devanagari".

Unicode script "Dives Akuru".

Unicode script "Dogra".

Unicode script "Duployan".

Unicode script "Egyptian_Hieroglyphs".

Unicode script "Elbasan".

Unicode script "Elymaic".

Unicode script "Ethiopic".

Unicode script "Georgian".

Unicode script "Glagolitic".

Unicode script "Gothic".

Unicode script "Grantha".

Unicode script "Greek".

Unicode script "Gujarati".

Unicode script "Gunjala Gondi".

Unicode script "Gurmukhi".

Unicode script "Han".

Unicode script "Hangul".

Unicode script "Hanifi Rohingya".

Unicode script "Hanunoo".

Unicode script "Hatran".

Unicode script "Hebrew".

Unicode script "Hiragana".

Unicode script "Imperial_Aramaic".

Unicode script "Inherited".

Unicode script "Inscriptional_Pahlavi".

Unicode script "Inscriptional_Parthian".

Unicode script "Javanese".

Unicode script "Kaithi".

Unicode script "Kannada".

Unicode script "Katakana".

Unicode script "Kayah_Li".

Unicode script "Kharoshthi".

Unicode script "Khitan Small Script".

Unicode script "Khmer".

Unicode script "Khojki".

Unicode script "Khudawadi".

Unicode script "Lao".

Unicode script "Latin".

Unicode script "Lepcha".

Unicode script "Limbu".

Unicode script "Linear A".

Unicode script "Linear_B".

Unicode script "Lisu".

Unicode script "Lycian".

Unicode script "Lydian".

Unicode script "Mahajani".

Unicode script "Makasar".

Unicode script "Malayalam".

Unicode script "Mandaic".

Unicode script "Manichaean".

Unicode script "Marchen".

Unicode script "Masaram Gondi".

Unicode script "Medefaidrin".

Unicode script "Meetei_Mayek".

Unicode script "Mende Kikakui".

Unicode script "Meroitic Cursive".

Unicode script "Meroitic Hieroglyphs".

Unicode script "Miao".

Unicode script "Modi".

Unicode script "Mongolian".

Unicode script "Mro".

Unicode script "Multani".

Unicode script "Myanmar".

Unicode script "Nabataean".

Unicode script "Nandinagari".

Unicode script "Newa".

Unicode script "New_Tai_Lue".

Unicode script "Nko".

Unicode script "Nushu".

Unicode script "Nyiakeng Puachue Hmong".

Unicode script "Ogham".

Unicode script "Old Hungarian".

Unicode script "Old_Italic".

Unicode script "Old North Arabian".

Unicode script "Old Permic".

Unicode script "Old_Persian".

Unicode script "Old Sogdian".

Unicode script "Old_South_Arabian".

Unicode script "Old_Turkic".

Unicode script "Ol_Chiki".

Unicode script "Oriya".

Unicode script "Osage".

Unicode script "Osmanya".

Unicode script "Pahawh Hmong".

Unicode script "Palmyrene".

Unicode script "Pau Cin Hau".

Unicode script "Phags_Pa".

Unicode script "Phoenician".

Unicode script "Psalter Pahlavi".

Unicode script "Rejang".

Unicode script "Runic".

Unicode script "Samaritan".

Unicode script "Saurashtra".

Unicode script "Sharada".

Unicode script "Shavian".

Unicode script "Siddham".

Unicode script "SignWriting".

Unicode script "Sinhala".

Unicode script "Sogdian".

Unicode script "Sora Sompeng".

Unicode script "Soyombo".

Unicode script "Sundanese".

Unicode script "Syloti_Nagri".

Unicode script "Syriac".

Unicode script "Tagalog".

Unicode script "Tagbanwa".

Unicode script "Tai_Le".

Unicode script "Tai_Tham".

Unicode script "Tai_Viet".

Unicode script "Takri".

Unicode script "Tamil".

Unicode script "Tangut".

Unicode script "Telugu".

Unicode script "Thaana".

Unicode script "Thai".

Unicode script "Tibetan".

Unicode script "Tifinagh".

Unicode script "Tirhuta".

Unicode script "Ugaritic".

Unicode script "Unknown".

Unicode script "Vai".

Unicode script "Wancho".

Unicode script "Warang Citi".

Unicode script "Yezidi".

Unicode script "Yi".

Unicode script "Zanabazar Square".

Public methods
static Character.UnicodeScript
forName(scriptName: String)

Returns the UnicodeScript constant with the given Unicode script name or the script name alias.

static Character.UnicodeScript
of(codePoint: Int)

Returns the enum constant representing the Unicode script of which the given character (Unicode code point) is assigned to.

Enum values

ADLAM

Added in API level 34
enum val ADLAM : Character.UnicodeScript

Unicode script "Adlam".

AHOM

Added in API level 34
enum val AHOM : Character.UnicodeScript

Unicode script "Ahom".

ANATOLIAN_HIEROGLYPHS

Added in API level 34
enum val ANATOLIAN_HIEROGLYPHS : Character.UnicodeScript

Unicode script "Anatolian Hieroglyphs".

ARABIC

Added in API level 24
enum val ARABIC : Character.UnicodeScript

Unicode script "Arabic".

ARMENIAN

Added in API level 24
enum val ARMENIAN : Character.UnicodeScript

Unicode script "Armenian".

AVESTAN

Added in API level 24
enum val AVESTAN : Character.UnicodeScript

Unicode script "Avestan".

BALINESE

Added in API level 24
enum val BALINESE : Character.UnicodeScript

Unicode script "Balinese".

BAMUM

Added in API level 24
enum val BAMUM : Character.UnicodeScript

Unicode script "Bamum".

BASSA_VAH

Added in API level 34
enum val BASSA_VAH : Character.UnicodeScript

Unicode script "Bassa Vah".

BATAK

Added in API level 24
enum val BATAK : Character.UnicodeScript

Unicode script "Batak".

BENGALI

Added in API level 24
enum val BENGALI : Character.UnicodeScript

Unicode script "Bengali".

BHAIKSUKI

Added in API level 34
enum val BHAIKSUKI : Character.UnicodeScript

Unicode script "Bhaiksuki".

BOPOMOFO

Added in API level 24
enum val BOPOMOFO : Character.UnicodeScript

Unicode script "Bopomofo".

BRAHMI

Added in API level 24
enum val BRAHMI : Character.UnicodeScript

Unicode script "Brahmi".

BRAILLE

Added in API level 24
enum val BRAILLE : Character.UnicodeScript

Unicode script "Braille".

BUGINESE

Added in API level 24
enum val BUGINESE : Character.UnicodeScript

Unicode script "Buginese".

BUHID

Added in API level 24
enum val BUHID : Character.UnicodeScript

Unicode script "Buhid".

CANADIAN_ABORIGINAL

Added in API level 24
enum val CANADIAN_ABORIGINAL : Character.UnicodeScript

Unicode script "Canadian_Aboriginal".

CARIAN

Added in API level 24
enum val CARIAN : Character.UnicodeScript

Unicode script "Carian".

CAUCASIAN_ALBANIAN

Added in API level 34
enum val CAUCASIAN_ALBANIAN : Character.UnicodeScript

Unicode script "Caucasian Albanian".

CHAKMA

Added in API level 26
enum val CHAKMA : Character.UnicodeScript

Unicode script "Chakma".

CHAM

Added in API level 24
enum val CHAM : Character.UnicodeScript

Unicode script "Cham".

CHEROKEE

Added in API level 24
enum val CHEROKEE : Character.UnicodeScript

Unicode script "Cherokee".

CHORASMIAN

Added in API level 34
enum val CHORASMIAN : Character.UnicodeScript

Unicode script "Chorasmian".

COMMON

Added in API level 24
enum val COMMON : Character.UnicodeScript

Unicode script "Common".

COPTIC

Added in API level 24
enum val COPTIC : Character.UnicodeScript

Unicode script "Coptic".

CUNEIFORM

Added in API level 24
enum val CUNEIFORM : Character.UnicodeScript

Unicode script "Cuneiform".

CYPRIOT

Added in API level 24
enum val CYPRIOT : Character.UnicodeScript

Unicode script "Cypriot".

CYRILLIC

Added in API level 24
enum val CYRILLIC : Character.UnicodeScript

Unicode script "Cyrillic".

DESERET

Added in API level 24
enum val DESERET : Character.UnicodeScript

Unicode script "Deseret".

DEVANAGARI

Added in API level 24
enum val DEVANAGARI : Character.UnicodeScript

Unicode script "Devanagari".

DIVES_AKURU

Added in API level 34
enum val DIVES_AKURU : Character.UnicodeScript

Unicode script "Dives Akuru".

DOGRA

Added in API level 34
enum val DOGRA : Character.UnicodeScript

Unicode script "Dogra".

DUPLOYAN

Added in API level 34
enum val DUPLOYAN : Character.UnicodeScript

Unicode script "Duployan".

EGYPTIAN_HIEROGLYPHS

Added in API level 24
enum val EGYPTIAN_HIEROGLYPHS : Character.UnicodeScript

Unicode script "Egyptian_Hieroglyphs".

ELBASAN

Added in API level 34
enum val ELBASAN : Character.UnicodeScript

Unicode script "Elbasan".

ELYMAIC

Added in API level 34
enum val ELYMAIC : Character.UnicodeScript

Unicode script "Elymaic".

ETHIOPIC

Added in API level 24
enum val ETHIOPIC : Character.UnicodeScript

Unicode script "Ethiopic".

GEORGIAN

Added in API level 24
enum val GEORGIAN : Character.UnicodeScript

Unicode script "Georgian".

GLAGOLITIC

Added in API level 24
enum val GLAGOLITIC : Character.UnicodeScript

Unicode script "Glagolitic".

GOTHIC

Added in API level 24
enum val GOTHIC : Character.UnicodeScript

Unicode script "Gothic".

GRANTHA

Added in API level 34
enum val GRANTHA : Character.UnicodeScript

Unicode script "Grantha".

GREEK

Added in API level 24
enum val GREEK : Character.UnicodeScript

Unicode script "Greek".

GUJARATI

Added in API level 24
enum val GUJARATI : Character.UnicodeScript

Unicode script "Gujarati".

GUNJALA_GONDI

Added in API level 34
enum val GUNJALA_GONDI : Character.UnicodeScript

Unicode script "Gunjala Gondi".

GURMUKHI

Added in API level 24
enum val GURMUKHI : Character.UnicodeScript

Unicode script "Gurmukhi".

HAN

Added in API level 24
enum val HAN : Character.UnicodeScript

Unicode script "Han".

HANGUL

Added in API level 24
enum val HANGUL : Character.UnicodeScript

Unicode script "Hangul".

HANIFI_ROHINGYA

Added in API level 34
enum val HANIFI_ROHINGYA : Character.UnicodeScript

Unicode script "Hanifi Rohingya".

HANUNOO

Added in API level 24
enum val HANUNOO : Character.UnicodeScript

Unicode script "Hanunoo".

HATRAN

Added in API level 34
enum val HATRAN : Character.UnicodeScript

Unicode script "Hatran".

HEBREW

Added in API level 24
enum val HEBREW : Character.UnicodeScript

Unicode script "Hebrew".

HIRAGANA

Added in API level 24
enum val HIRAGANA : Character.UnicodeScript

Unicode script "Hiragana".

IMPERIAL_ARAMAIC

Added in API level 24
enum val IMPERIAL_ARAMAIC : Character.UnicodeScript

Unicode script "Imperial_Aramaic".

INHERITED

Added in API level 24
enum val INHERITED : Character.UnicodeScript

Unicode script "Inherited".

INSCRIPTIONAL_PAHLAVI

Added in API level 24
enum val INSCRIPTIONAL_PAHLAVI : Character.UnicodeScript

Unicode script "Inscriptional_Pahlavi".

INSCRIPTIONAL_PARTHIAN

Added in API level 24
enum val INSCRIPTIONAL_PARTHIAN : Character.UnicodeScript

Unicode script "Inscriptional_Parthian".

JAVANESE

Added in API level 24
enum val JAVANESE : Character.UnicodeScript

Unicode script "Javanese".

KAITHI

Added in API level 24
enum val KAITHI : Character.UnicodeScript

Unicode script "Kaithi".

KANNADA

Added in API level 24
enum val KANNADA : Character.UnicodeScript

Unicode script "Kannada".

KATAKANA

Added in API level 24
enum val KATAKANA : Character.UnicodeScript

Unicode script "Katakana".

KAYAH_LI

Added in API level 24
enum val KAYAH_LI : Character.UnicodeScript

Unicode script "Kayah_Li".

KHAROSHTHI

Added in API level 24
enum val KHAROSHTHI : Character.UnicodeScript

Unicode script "Kharoshthi".

KHITAN_SMALL_SCRIPT

Added in API level 34
enum val KHITAN_SMALL_SCRIPT : Character.UnicodeScript

Unicode script "Khitan Small Script".

KHMER

Added in API level 24
enum val KHMER : Character.UnicodeScript

Unicode script "Khmer".

KHOJKI

Added in API level 34
enum val KHOJKI : Character.UnicodeScript

Unicode script "Khojki".

KHUDAWADI

Added in API level 34
enum val KHUDAWADI : Character.UnicodeScript

Unicode script "Khudawadi".

LAO

Added in API level 24
enum val LAO : Character.UnicodeScript

Unicode script "Lao".

LATIN

Added in API level 24
enum val LATIN : Character.UnicodeScript

Unicode script "Latin".

LEPCHA

Added in API level 24
enum val LEPCHA : Character.UnicodeScript

Unicode script "Lepcha".

LIMBU

Added in API level 24
enum val LIMBU : Character.UnicodeScript

Unicode script "Limbu".

LINEAR_A

Added in API level 34
enum val LINEAR_A : Character.UnicodeScript

Unicode script "Linear A".

LINEAR_B

Added in API level 24
enum val LINEAR_B : Character.UnicodeScript

Unicode script "Linear_B".

LISU

Added in API level 24
enum val LISU : Character.UnicodeScript

Unicode script "Lisu".

LYCIAN

Added in API level 24
enum val LYCIAN : Character.UnicodeScript

Unicode script "Lycian".

LYDIAN

Added in API level 24
enum val LYDIAN : Character.UnicodeScript

Unicode script "Lydian".

MAHAJANI

Added in API level 34
enum val MAHAJANI : Character.UnicodeScript

Unicode script "Mahajani".

MAKASAR

Added in API level 34
enum val MAKASAR : Character.UnicodeScript

Unicode script "Makasar".

MALAYALAM

Added in API level 24
enum val MALAYALAM : Character.UnicodeScript

Unicode script "Malayalam".

MANDAIC

Added in API level 24
enum val MANDAIC : Character.UnicodeScript

Unicode script "Mandaic".

MANICHAEAN

Added in API level 34
enum val MANICHAEAN : Character.UnicodeScript

Unicode script "Manichaean".

MARCHEN

Added in API level 34
enum val MARCHEN : Character.UnicodeScript

Unicode script "Marchen".

MASARAM_GONDI

Added in API level 34
enum val MASARAM_GONDI : Character.UnicodeScript

Unicode script "Masaram Gondi".

MEDEFAIDRIN

Added in API level 34
enum val MEDEFAIDRIN : Character.UnicodeScript

Unicode script "Medefaidrin".

MEETEI_MAYEK

Added in API level 24
enum val MEETEI_MAYEK : Character.UnicodeScript

Unicode script "Meetei_Mayek".

MENDE_KIKAKUI

Added in API level 34
enum val MENDE_KIKAKUI : Character.UnicodeScript

Unicode script "Mende Kikakui".

MEROITIC_CURSIVE

Added in API level 26
enum val MEROITIC_CURSIVE : Character.UnicodeScript

Unicode script "Meroitic Cursive".

MEROITIC_HIEROGLYPHS

Added in API level 26
enum val MEROITIC_HIEROGLYPHS : Character.UnicodeScript

Unicode script "Meroitic Hieroglyphs".

MIAO

Added in API level 26
enum val MIAO : Character.UnicodeScript

Unicode script "Miao".

MODI

Added in API level 34
enum val MODI : Character.UnicodeScript

Unicode script "Modi".

MONGOLIAN

Added in API level 24
enum val MONGOLIAN : Character.UnicodeScript

Unicode script "Mongolian".

MRO

Added in API level 34
enum val MRO : Character.UnicodeScript

Unicode script "Mro".

MULTANI

Added in API level 34
enum val MULTANI : Character.UnicodeScript

Unicode script "Multani".

MYANMAR

Added in API level 24
enum val MYANMAR : Character.UnicodeScript

Unicode script "Myanmar".

NABATAEAN

Added in API level 34
enum val NABATAEAN : Character.UnicodeScript

Unicode script "Nabataean".

NANDINAGARI

Added in API level 34
enum val NANDINAGARI : Character.UnicodeScript

Unicode script "Nandinagari".

NEWA

Added in API level 34
enum val NEWA : Character.UnicodeScript

Unicode script "Newa".

NEW_TAI_LUE

Added in API level 24
enum val NEW_TAI_LUE : Character.UnicodeScript

Unicode script "New_Tai_Lue".

NKO

Added in API level 24
enum val NKO : Character.UnicodeScript

Unicode script "Nko".

NUSHU

Added in API level 34
enum val NUSHU : Character.UnicodeScript

Unicode script "Nushu".

NYIAKENG_PUACHUE_HMONG

Added in API level 34
enum val NYIAKENG_PUACHUE_HMONG : Character.UnicodeScript

Unicode script "Nyiakeng Puachue Hmong".

OGHAM

Added in API level 24
enum val OGHAM : Character.UnicodeScript

Unicode script "Ogham".

OLD_HUNGARIAN

Added in API level 34
enum val OLD_HUNGARIAN : Character.UnicodeScript

Unicode script "Old Hungarian".

OLD_ITALIC

Added in API level 24
enum val OLD_ITALIC : Character.UnicodeScript

Unicode script "Old_Italic".

OLD_NORTH_ARABIAN

Added in API level 34
enum val OLD_NORTH_ARABIAN : Character.UnicodeScript

Unicode script "Old North Arabian".

OLD_PERMIC

Added in API level 34
enum val OLD_PERMIC : Character.UnicodeScript

Unicode script "Old Permic".

OLD_PERSIAN

Added in API level 24
enum val OLD_PERSIAN : Character.UnicodeScript

Unicode script "Old_Persian".

OLD_SOGDIAN

Added in API level 34
enum val OLD_SOGDIAN : Character.UnicodeScript

Unicode script "Old Sogdian".

OLD_SOUTH_ARABIAN

Added in API level 24
enum val OLD_SOUTH_ARABIAN : Character.UnicodeScript

Unicode script "Old_South_Arabian".

OLD_TURKIC

Added in API level 24
enum val OLD_TURKIC : Character.UnicodeScript

Unicode script "Old_Turkic".

OL_CHIKI

Added in API level 24
enum val OL_CHIKI : Character.UnicodeScript

Unicode script "Ol_Chiki".

ORIYA

Added in API level 24
enum val ORIYA : Character.UnicodeScript

Unicode script "Oriya".

OSAGE

Added in API level 34
enum val OSAGE : Character.UnicodeScript

Unicode script "Osage".

OSMANYA

Added in API level 24
enum val OSMANYA : Character.UnicodeScript

Unicode script "Osmanya".

PAHAWH_HMONG

Added in API level 34
enum val PAHAWH_HMONG : Character.UnicodeScript

Unicode script "Pahawh Hmong".

PALMYRENE

Added in API level 34
enum val PALMYRENE : Character.UnicodeScript

Unicode script "Palmyrene".

PAU_CIN_HAU

Added in API level 34
enum val PAU_CIN_HAU : Character.UnicodeScript

Unicode script "Pau Cin Hau".

PHAGS_PA

Added in API level 24
enum val PHAGS_PA : Character.UnicodeScript

Unicode script "Phags_Pa".

PHOENICIAN

Added in API level 24
enum val PHOENICIAN : Character.UnicodeScript

Unicode script "Phoenician".

PSALTER_PAHLAVI

Added in API level 34
enum val PSALTER_PAHLAVI : Character.UnicodeScript

Unicode script "Psalter Pahlavi".

REJANG

Added in API level 24
enum val REJANG : Character.UnicodeScript

Unicode script "Rejang".

RUNIC

Added in API level 24
enum val RUNIC : Character.UnicodeScript

Unicode script "Runic".

SAMARITAN

Added in API level 24
enum val SAMARITAN : Character.UnicodeScript

Unicode script "Samaritan".

SAURASHTRA

Added in API level 24
enum val SAURASHTRA : Character.UnicodeScript

Unicode script "Saurashtra".

SHARADA

Added in API level 26
enum val SHARADA : Character.UnicodeScript

Unicode script "Sharada".

SHAVIAN

Added in API level 24
enum val SHAVIAN : Character.UnicodeScript

Unicode script "Shavian".

SIDDHAM

Added in API level 34
enum val SIDDHAM : Character.UnicodeScript

Unicode script "Siddham".

SIGNWRITING

Added in API level 34
enum val SIGNWRITING : Character.UnicodeScript

Unicode script "SignWriting".

SINHALA

Added in API level 24
enum val SINHALA : Character.UnicodeScript

Unicode script "Sinhala".

SOGDIAN

Added in API level 34
enum val SOGDIAN : Character.UnicodeScript

Unicode script "Sogdian".

SORA_SOMPENG

Added in API level 26
enum val SORA_SOMPENG : Character.UnicodeScript

Unicode script "Sora Sompeng".

SOYOMBO

Added in API level 34
enum val SOYOMBO : Character.UnicodeScript

Unicode script "Soyombo".

SUNDANESE

Added in API level 24
enum val SUNDANESE : Character.UnicodeScript

Unicode script "Sundanese".

SYLOTI_NAGRI

Added in API level 24
enum val SYLOTI_NAGRI : Character.UnicodeScript

Unicode script "Syloti_Nagri".

SYRIAC

Added in API level 24
enum val SYRIAC : Character.UnicodeScript

Unicode script "Syriac".

TAGALOG

Added in API level 24
enum val TAGALOG : Character.UnicodeScript

Unicode script "Tagalog".

TAGBANWA

Added in API level 24
enum val TAGBANWA : Character.UnicodeScript

Unicode script "Tagbanwa".

TAI_LE

Added in API level 24
enum val TAI_LE : Character.UnicodeScript

Unicode script "Tai_Le".

TAI_THAM

Added in API level 24
enum val TAI_THAM : Character.UnicodeScript

Unicode script "Tai_Tham".

TAI_VIET

Added in API level 24
enum val TAI_VIET : Character.UnicodeScript

Unicode script "Tai_Viet".

TAKRI

Added in API level 26
enum val TAKRI : Character.UnicodeScript

Unicode script "Takri".

TAMIL

Added in API level 24
enum val TAMIL : Character.UnicodeScript

Unicode script "Tamil".

TANGUT

Added in API level 34
enum val TANGUT : Character.UnicodeScript

Unicode script "Tangut".

TELUGU

Added in API level 24
enum val TELUGU : Character.UnicodeScript

Unicode script "Telugu".

THAANA

Added in API level 24
enum val THAANA : Character.UnicodeScript

Unicode script "Thaana".

THAI

Added in API level 24
enum val THAI : Character.UnicodeScript

Unicode script "Thai".

TIBETAN

Added in API level 24
enum val TIBETAN : Character.UnicodeScript

Unicode script "Tibetan".

TIFINAGH

Added in API level 24
enum val TIFINAGH : Character.UnicodeScript

Unicode script "Tifinagh".

TIRHUTA

Added in API level 34
enum val TIRHUTA : Character.UnicodeScript

Unicode script "Tirhuta".

UGARITIC

Added in API level 24
enum val UGARITIC : Character.UnicodeScript

Unicode script "Ugaritic".

UNKNOWN

Added in API level 24
enum val UNKNOWN : Character.UnicodeScript

Unicode script "Unknown".

VAI

Added in API level 24
enum val VAI : Character.UnicodeScript

Unicode script "Vai".

WANCHO

Added in API level 34
enum val WANCHO : Character.UnicodeScript

Unicode script "Wancho".

WARANG_CITI

Added in API level 34
enum val WARANG_CITI : Character.UnicodeScript

Unicode script "Warang Citi".

YEZIDI

Added in API level 34
enum val YEZIDI : Character.UnicodeScript

Unicode script "Yezidi".

YI

Added in API level 24
enum val YI : Character.UnicodeScript

Unicode script "Yi".

ZANABAZAR_SQUARE

Added in API level 34
enum val ZANABAZAR_SQUARE : Character.UnicodeScript

Unicode script "Zanabazar Square".

Public methods

forName

Added in API level 24
static fun forName(scriptName: String): Character.UnicodeScript

Returns the UnicodeScript constant with the given Unicode script name or the script name alias. Script names and their aliases are determined by The Unicode Standard. The files Scripts<version>.txt and PropertyValueAliases<version>.txt define script names and the script name aliases for a particular version of the standard. The Character class specifies the version of the standard that it supports.

Character case is ignored for all of the valid script names. The en_US locale's case mapping rules are used to provide case-insensitive string comparisons for script name validation.

Parameters
scriptName String: A UnicodeScript name.
Return
Character.UnicodeScript The UnicodeScript constant identified by scriptName
Exceptions
java.lang.IllegalArgumentException if scriptName is an invalid name
java.lang.NullPointerException if scriptName is null

of

Added in API level 24
static fun of(codePoint: Int): Character.UnicodeScript

Returns the enum constant representing the Unicode script of which the given character (Unicode code point) is assigned to.

Parameters
codePoint Int: the character (Unicode code point) in question.
Return
Character.UnicodeScript The UnicodeScript constant representing the Unicode script of which this character is assigned to.
Exceptions
java.lang.IllegalArgumentException if the specified codePoint is an invalid Unicode code point.