Method TryGetTimestamp
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
doubleThe timestamp of the message payload, in seconds.
Returns
- bool
true
if the message has a timestamped payload; otherwise,false
.