Table of Contents

Class MessageReceived

Namespace
Iot.Device.Swarm
Assembly
Iot.Device.Swarm.dll

Message received from the Swarm network.

public class MessageReceived : MessageBase
Inheritance
MessageReceived
Inherited Members

Constructors

MessageReceived(byte[], uint)

Initializes a new instance of the MessageBase class. Creates a Message to be sent to the Swarm network.

public MessageReceived(byte[] data, uint applicationId = 0)

Parameters

data byte[]

Data to be sent.

applicationId uint

The application ID tag for the message.

MessageReceived(string, uint)

Initializes a new instance of the MessageBase class. Creates a Message to be sent to the Swarm network.

public MessageReceived(string data, uint applicationId = 0)

Parameters

data string

Data to be sent.

applicationId uint

The application ID tag for the message.

Properties

ID

Gets message identifier assigned by the device.

public string ID { get; }

Property Value

string

Remarks

This property is empty for messages that have been created by code.

TimeStamp

Gets time-stamp of the moment the message was received by the Tile.

public DateTime TimeStamp { get; }

Property Value

DateTime

Remarks

This property is empty for messages that have been created by code.