Presentation

The Presentation class represents a presentation message in the EdgeAgent software. It contains the necessary information for constructing a presentation message.

Constructors

Link copied to clipboard
constructor(id: String? = null, body: Presentation.Body, attachments: Array<AttachmentDescriptor>, thid: String? = null, from: DID, to: DID)

The Presentation class represents a presentation message in the EdgeAgent software. It contains the necessary information for constructing a presentation message.

constructor(fromMessage: Message)

Constructor for creating a Presentation object from a Message object.

Types

Link copied to clipboard
data class Body constructor(val goalCode: String? = null, val comment: String? = null)

Represents the body of a Presentation object.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An array of AttachmentDescriptor objects representing the attachments in the message.

Link copied to clipboard
lateinit var body: Presentation.Body

The body of the presentation message, including goal code and comment.

Link copied to clipboard
lateinit var from: DID

The sender's DID.

Link copied to clipboard
lateinit var id: String

The unique identifier for the presentation message.

Link copied to clipboard
var thid: String?

The thread ID of the presentation message.

Link copied to clipboard
lateinit var to: DID

The recipient's DID.

Link copied to clipboard

The type of the presentation message.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this Presentation object with the specified object for equality.

Link copied to clipboard
open override fun hashCode(): Int

Calculates the hash code value for the Presentation object.

Link copied to clipboard

Creates a new Message object based on the provided parameters.