Class representing a message to user.

Constructors

Properties

Constructors

  • Create an SmiMessage.

    Parameters

    • type: SmiMessageTypeConstants

      The type of message.

    • message: string

      The message to be displayed to the user.

    • Optionalcauses: string[]

      Any available causes of the message.

    • display: boolean = true

      Whether the message should be displayed.

    Returns SmiMessage

Properties

causes?: string[]

Any available causes of the message.

display: boolean = true

Whether the message should be displayed.

message: string

The message to be displayed to the user.

The type of message.