Table of Contents

Class EventMessage

Namespace
SenseAnywhere.Sdk.Messages
Assembly
SenseAnywhere.Sdk.dll

Represents a webhook message that contains one or more events.

public class EventMessage
Inheritance
EventMessage
Inherited Members

Constructors

EventMessage(DeviceMessageHeaders, IEnumerable<Event>)

Initializes a new instance of the EventMessage class.

public EventMessage(DeviceMessageHeaders headers, IEnumerable<Event> payload)

Parameters

headers DeviceMessageHeaders

Information about the communication of the message.

payload IEnumerable<Event>

The events that were triggered by the device.

Properties

Headers

Gets information about the communication of the message.

public DeviceMessageHeaders Headers { get; }

Property Value

DeviceMessageHeaders

Payload

Gets the events that were triggered by the device.

public IEnumerable<Event> Payload { get; }

Property Value

IEnumerable<Event>