UnicodeSetSpanner.TrimOption


public static final enum UnicodeSetSpanner.TrimOption
extends Enum<UnicodeSetSpanner.TrimOption>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.UnicodeSetSpanner.TrimOption>
     ↳ android.icu.text.UnicodeSetSpanner.TrimOption


Options for the trim() method

Summary

Enum values

UnicodeSetSpanner.TrimOption  BOTH

Trim leading and trailing spans. 

UnicodeSetSpanner.TrimOption  LEADING

Trim leading spans. 

UnicodeSetSpanner.TrimOption  TRAILING

Trim trailing spans. 

Public methods

static UnicodeSetSpanner.TrimOption valueOf(String name)
static final TrimOption[] values()

Inherited methods

Enum values

BOTH

Added in API level 24
public static final UnicodeSetSpanner.TrimOption BOTH

Trim leading and trailing spans.

LEADING

Added in API level 24
public static final UnicodeSetSpanner.TrimOption LEADING

Trim leading spans.

TRAILING

Added in API level 24
public static final UnicodeSetSpanner.TrimOption TRAILING

Trim trailing spans.

Public methods

valueOf

public static UnicodeSetSpanner.TrimOption valueOf (String name)

Parameters
name String

Returns
UnicodeSetSpanner.TrimOption

values

public static final TrimOption[] values ()

Returns
TrimOption[]