Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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

added in API level 24
public static DisplayContext.Type valueOf (String name)

Parameters
name String

Returns
DisplayContext.Type

values

added in API level 24
public static final Type[] values ()

Returns
Type[]