getLastAnnouncedValueByTopic method
Returns the last sample of data the client receieved for the given topic
.
This is only the last value that the client has received from the server, so
if there is no subscription with the same name as the given topic
name, it will
return either an old outdated value, or null.
Implementation
Object? getLastAnnouncedValueByTopic(NT4Topic topic) {
return getLastAnnouncedValueByName(topic.name);
}