# MessageType

enum MessageType : Enum<MessageType>

## Entries

REQUEST
Link copied to clipboard
REQUEST

Request data that requires a response, except if the request data mentions explicitely that a response data is not expected.

RESPONSE
Link copied to clipboard
RESPONSE

Response data, sent to answer to a request data

NOTIFICATION
Link copied to clipboard
NOTIFICATION

Unsollicited notification data that does not require an answer

## Types

Companion
Link copied to clipboard
object Companion

## Properties

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

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

toRTRMessageType
Link copied to clipboard
fun toRTRMessageType(): RTRMessageType
valueOf
Link copied to clipboard
fun valueOf(value: String): MessageType

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<MessageType>

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