DisplayOptions.SubstituteHandling


public static final enum DisplayOptions.SubstituteHandling
extends Enum<DisplayOptions.SubstituteHandling>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.DisplayOptions.SubstituteHandling>
     ↳ android.icu.text.DisplayOptions.SubstituteHandling


Represents all the substitute handlings.

Summary

Enum values

DisplayOptions.SubstituteHandling  NO_SUBSTITUTE

Returns a null value when no data is available. 

DisplayOptions.SubstituteHandling  SUBSTITUTE

Returns a fallback value (e.g., the input code) when no data is available. 

DisplayOptions.SubstituteHandling  UNDEFINED

A possible setting for SubstituteHandling. 

Fields

public static final List<DisplayOptions.SubstituteHandling> VALUES

Unmodifiable List of all substitute handlings constants.

Public methods

static DisplayOptions.SubstituteHandling valueOf(String name)
static final SubstituteHandling[] values()

Inherited methods

Enum values

NO_SUBSTITUTE

Added in API level 35
public static final DisplayOptions.SubstituteHandling NO_SUBSTITUTE

Returns a null value when no data is available.

SUBSTITUTE

Added in API level 35
public static final DisplayOptions.SubstituteHandling SUBSTITUTE

Returns a fallback value (e.g., the input code) when no data is available. This is the default behaviour.

UNDEFINED

Added in API level 35
public static final DisplayOptions.SubstituteHandling UNDEFINED

A possible setting for SubstituteHandling. The SubstituteHandling context to be used is unknown (this is the default value).

Fields

VALUES

Added in API level 35
public static final List<DisplayOptions.SubstituteHandling> VALUES

Unmodifiable List of all substitute handlings constants. List version of values().

Public methods

valueOf

public static DisplayOptions.SubstituteHandling valueOf (String name)

Parameters
name String

Returns
DisplayOptions.SubstituteHandling

values

public static final SubstituteHandling[] values ()

Returns
SubstituteHandling[]