Stay organized with collections
Save and categorize content based on your preferences.
ScriptUsage
class ScriptUsage
Script usage constants. See UAX #31 Unicode Identifier and Pattern Syntax. http://www.unicode.org/reports/tr31/#Table_Candidate_Characters_for_Exclusion_from_Identifiers
Summary
Enum values |
Aspirational Use script.
|
Candidate for Exclusion from Identifiers.
|
Limited Use script.
|
Not encoded in Unicode.
|
Recommended script.
|
Unknown script usage.
|
Enum values
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# UScript.ScriptUsage\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nScriptUsage\n===========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/lang/UScript.ScriptUsage \"View this page in Java\") \n\n```\nclass ScriptUsage\n```\n\n|---|---|-------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[android.icu.lang.UScript.ScriptUsage](#)\\\u003e ||\n| | ↳ | [android.icu.lang.UScript.ScriptUsage](#) |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [UScript.ScriptUsage.ASPIRATIONAL](#ENUM_VALUE:ASPIRATIONAL), [UScript.ScriptUsage.EXCLUDED](#ENUM_VALUE:EXCLUDED), [UScript.ScriptUsage.LIMITED_USE](#ENUM_VALUE:LIMITED_USE), [UScript.ScriptUsage.NOT_ENCODED](#ENUM_VALUE:NOT_ENCODED), [UScript.ScriptUsage.RECOMMENDED](#ENUM_VALUE:RECOMMENDED), [UScript.ScriptUsage.UNKNOWN](#ENUM_VALUE:UNKNOWN) |--------------------------------------------------------------|-------------------------------------------| | [UScript.ScriptUsage.ASPIRATIONAL](#ENUM_VALUE:ASPIRATIONAL) | Aspirational Use script. | | [UScript.ScriptUsage.EXCLUDED](#ENUM_VALUE:EXCLUDED) | Candidate for Exclusion from Identifiers. | | [UScript.ScriptUsage.LIMITED_USE](#ENUM_VALUE:LIMITED_USE) | Limited Use script. | | [UScript.ScriptUsage.NOT_ENCODED](#ENUM_VALUE:NOT_ENCODED) | Not encoded in Unicode. | | [UScript.ScriptUsage.RECOMMENDED](#ENUM_VALUE:RECOMMENDED) | Recommended script. | | [UScript.ScriptUsage.UNKNOWN](#ENUM_VALUE:UNKNOWN) | Unknown script usage. | |\n\nScript usage constants. See UAX #31 Unicode Identifier and Pattern Syntax. http://www.unicode.org/reports/tr31/#Table_Candidate_Characters_for_Exclusion_from_Identifiers\n\nSummary\n-------\n\n| Enum values ||\n|----------------------------------------------------------------------------|---|\n| [ASPIRATIONAL](#ENUM_VALUE:ASPIRATIONAL) Aspirational Use script. |\n| [EXCLUDED](#ENUM_VALUE:EXCLUDED) Candidate for Exclusion from Identifiers. |\n| [LIMITED_USE](#ENUM_VALUE:LIMITED_USE) Limited Use script. |\n| [NOT_ENCODED](#ENUM_VALUE:NOT_ENCODED) Not encoded in Unicode. |\n| [RECOMMENDED](#ENUM_VALUE:RECOMMENDED) Recommended script. |\n| [UNKNOWN](#ENUM_VALUE:UNKNOWN) Unknown script usage. |\n\nEnum values\n-----------\n\n### ASPIRATIONAL\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val ASPIRATIONAL : UScript.ScriptUsage\n```\n\nAspirational Use script. \n\n### EXCLUDED\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val EXCLUDED : UScript.ScriptUsage\n```\n\nCandidate for Exclusion from Identifiers. \n\n### LIMITED_USE\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val LIMITED_USE : UScript.ScriptUsage\n```\n\nLimited Use script. \n\n### NOT_ENCODED\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val NOT_ENCODED : UScript.ScriptUsage\n```\n\nNot encoded in Unicode. \n\n### RECOMMENDED\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val RECOMMENDED : UScript.ScriptUsage\n```\n\nRecommended script. \n\n### UNKNOWN\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val UNKNOWN : UScript.ScriptUsage\n```\n\nUnknown script usage."]]