dashboard
repositories
activity
search
login
APPS
/
PAILot
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
fix: re-enable autoReconnect, simple resume handler, stable connection life...
Matthias Nott
9 days ago
8b82df83d3773bcc8fafc5e925ef2ca05e5c9472
[APPS/PAILot.git]
/
lib
/
services
/
navigate_notifier.dart
1
2
3
4
5
6
7
8
9
10
11
12
/// Bridge between NavigateScreen and ChatScreen's MQTT service.
/// ChatScreen sets the [navigateNotifierProvider] when MQTT is initialized.
/// NavigateScreen reads it to send key presses and screenshot requests.
class NavigateNotifier {
final void Function(String key, String? sessionId) sendKey;
final void Function(String? sessionId) requestScreenshot;
NavigateNotifier({
required this.sendKey,
required this.requestScreenshot,
});
}