Table of Contents

Class GoTalkContent

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

The contents of a TextMessage that will be delivered to a GoTalk.

public class GoTalkContent : TextMessageContentType, IBinaryPayload
Inheritance
GoTalkContent
Implements
Inherited Members

Constructors

GoTalkContent()

Initializes a new instance of the GoTalkContent class.

public GoTalkContent()

GoTalkContent(string?, Notification?)

Initializes a new instance of the GoTalkContent class.

public GoTalkContent(string? message, Notification? notification = null)

Parameters

message string

The message.

notification Notification

The notification that produced the message.

Properties

ExpectedDuration

Gets the expected round trip time in seconds of the message including time for the GoTalk to read the message.

public double ExpectedDuration { get; }

Property Value

double

Expected duration.

Message

Gets or sets the message. The message can be up to 256 characters.

public string? Message { get; set; }

Property Value

string

string

Notification

Gets or sets the Notification

public Notification? Notification { get; set; }

Property Value

Notification

The Notification with only Id as its parameter.

Payload

Gets method to get raw binary. NOTE: The endianness of IDs and other numbers inside of the payload are reversed to keep the C# format.

public byte[] Payload { get; }

Property Value

byte[]

byte buffer.

Methods

Clone()

Create a copy.

public IBinaryPayload Clone()

Returns

IBinaryPayload

IBinaryPayload