Table of Contents

Method TryGetTimestamp

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

TryGetTimestamp(out double)

Gets the timestamp of the message payload, in seconds. A return value indicates whether the message has a timestamped payload.

public bool TryGetTimestamp(out double timestamp)

Parameters

timestamp double

The timestamp of the message payload, in seconds.

Returns

bool

true if the message has a timestamped payload; otherwise, false.