Stay organized with collections
Save and categorize content based on your preferences.
SubstituteHandling
class SubstituteHandling
Represents all the substitute handlings.
Summary
Enum values |
Returns a null value when no data is available.
|
Returns a fallback value (e.g., the input code) when no data is available.
|
A possible setting for SubstituteHandling.
|
Enum values
SUBSTITUTE
enum val SUBSTITUTE : DisplayOptions.SubstituteHandling
Returns a fallback value (e.g., the input code) when no data is available. This is the default behaviour.
UNDEFINED
enum val UNDEFINED : DisplayOptions.SubstituteHandling
A possible setting for SubstituteHandling. The SubstituteHandling context to be used is unknown (this is the default value).
Properties
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,["# DisplayOptions.SubstituteHandling\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nSubstituteHandling\n==================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/text/DisplayOptions.SubstituteHandling \"View this page in Java\") \n\n```\nclass SubstituteHandling\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.text.DisplayOptions.SubstituteHandling](#)\\\u003e ||\n| | ↳ | [android.icu.text.DisplayOptions.SubstituteHandling](#) |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [DisplayOptions.SubstituteHandling.NO_SUBSTITUTE](#ENUM_VALUE:NO_SUBSTITUTE), [DisplayOptions.SubstituteHandling.SUBSTITUTE](#ENUM_VALUE:SUBSTITUTE), [DisplayOptions.SubstituteHandling.UNDEFINED](#ENUM_VALUE:UNDEFINED) |------------------------------------------------------------------------------|----------------------------------------------------------------------------| | [DisplayOptions.SubstituteHandling.NO_SUBSTITUTE](#ENUM_VALUE:NO_SUBSTITUTE) | Returns a null value when no data is available. | | [DisplayOptions.SubstituteHandling.SUBSTITUTE](#ENUM_VALUE:SUBSTITUTE) | Returns a fallback value (e.g., the input code) when no data is available. | | [DisplayOptions.SubstituteHandling.UNDEFINED](#ENUM_VALUE:UNDEFINED) | A possible setting for SubstituteHandling. | |\n\nRepresents all the substitute handlings.\n\nSummary\n-------\n\n| Enum values ||\n|-----------------------------------------------------------------------------------------------------------------|---|\n| [NO_SUBSTITUTE](#ENUM_VALUE:NO_SUBSTITUTE) Returns a null value when no data is available. |\n| [SUBSTITUTE](#ENUM_VALUE:SUBSTITUTE) Returns a fallback value (e.g., the input code) when no data is available. |\n| [UNDEFINED](#ENUM_VALUE:UNDEFINED) A possible setting for SubstituteHandling. |\n\n| Properties ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|\n| static [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\\\u003c[DisplayOptions.SubstituteHandling](#)!\\\u003e! | [VALUES](#VALUES:kotlin.collections.MutableList) Unmodifiable List of all substitute handlings constants. |\n\nEnum values\n-----------\n\n### NO_SUBSTITUTE\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val NO_SUBSTITUTE : DisplayOptions.SubstituteHandling\n```\n\nReturns a null value when no data is available. \n\n### SUBSTITUTE\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val SUBSTITUTE : DisplayOptions.SubstituteHandling\n```\n\nReturns a fallback value (e.g., the input code) when no data is available. This is the default behaviour. \n\n### UNDEFINED\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val UNDEFINED : DisplayOptions.SubstituteHandling\n```\n\nA possible setting for SubstituteHandling. The SubstituteHandling context to be used is unknown (this is the default value).\n\nProperties\n----------\n\n### VALUES\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val VALUES: MutableList\u003cDisplayOptions.SubstituteHandling!\u003e!\n```\n\nUnmodifiable List of all substitute handlings constants. List version of [values()](#)."]]