# MessageFormat

enum MessageFormat : Enum<MessageFormat>

Defines which format messages are expected to be encoded.

## Entries

XML
Link copied to clipboard
XML
JSON
Link copied to clipboard
JSON

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<MessageFormat>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): MessageFormat

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<MessageFormat>

Returns an array containing the constants of this enum type, in the order they're declared.