HERE Android SDK Developer's Guide

RichTextFormatting

The enumeration RichTextFormatting is a member of com.here.android.mpa.search .

Enumeration Summary

public final enumeration RichTextFormatting

extends java.lang.Enum, java.lang.Object

Represents values describing possible formats for rich text content.

[For complete information, see the section Enumeration Details]

See also:

setRichTextFormatting(RichTextFormatting)

setRichTextFormatting(RichTextFormatting)

Enum Constant Summary

Table 1. Enum Constants in RichTextFormatting
Fields

public static final RichTextFormatting HTML

HTML-encoded text.

public static final RichTextFormatting PLAIN

Plain text.

Method Summary

Table 2. Methods in RichTextFormatting
Methods

public static RichTextFormatting valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static RichTextFormatting[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Represents values describing possible formats for rich text content.

See also:

setRichTextFormatting(RichTextFormatting)

setRichTextFormatting(RichTextFormatting)

Enum Constant Details

public static final RichTextFormatting HTML

HTML-encoded text.

public static final RichTextFormatting PLAIN

Plain text.

Method Details

public static RichTextFormatting valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static RichTextFormatting[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.