Device: Add MessageFilter to enableMessagePolling()

This commit is contained in:
Jonathan Schwartz
2025-07-29 13:15:18 -04:00
committed by Kyle Schwarz
parent 1e5e714f5b
commit c5bce795c6
4 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ public:
// Message polling related functions
bool enableMessagePolling();
bool enableMessagePolling(std::optional<MessageFilter> filter = std::nullopt);
bool disableMessagePolling();
bool isMessagePollingEnabled() { return messagePollingCallbackID != 0; };
std::pair<std::vector<std::shared_ptr<Message>>, bool> getMessages();