DisplayContext.Type


public static final enum DisplayContext.Type
extends Enum<DisplayContext.Type>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.DisplayContext.Type>
     ↳ android.icu.text.DisplayContext.Type


Type values for DisplayContext

Summary

Enum values

DisplayContext.Type  CAPITALIZATION

CAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE. 

DisplayContext.Type  DIALECT_HANDLING

DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES. 

DisplayContext.Type  DISPLAY_LENGTH

DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT. 

DisplayContext.Type  SUBSTITUTE_HANDLING

SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE. 

Public methods

static DisplayContext.Type valueOf(String name)
static final Type[] values()

Inherited methods

Enum values

CAPITALIZATION

Added in API level 24
public static final DisplayContext.Type CAPITALIZATION

CAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE.

DIALECT_HANDLING

Added in API level 24
public static final DisplayContext.Type DIALECT_HANDLING

DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES.

DISPLAY_LENGTH

Added in API level 24
public static final DisplayContext.Type DISPLAY_LENGTH

DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT.

SUBSTITUTE_HANDLING

Added in API level 28
public static final DisplayContext.Type SUBSTITUTE_HANDLING

SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE.

Public methods

valueOf

public static DisplayContext.Type valueOf (String name)

Parameters
name String

Returns
DisplayContext.Type

values

public static final Type[] values ()

Returns
Type[]