P4
This commit is contained in:
@@ -10,7 +10,7 @@ export async function serveOnSessionBus(daemon) {
|
||||
Arm() { daemon.arm(); }
|
||||
Sleep() { daemon.sleep(); }
|
||||
Shutdown() { daemon.close(); }
|
||||
PushToTalk(pressed) { daemon.emit('PushToTalk', Boolean(pressed)); }
|
||||
PushToTalk(pressed) { daemon.setPushToTalk?.(Boolean(pressed)); }
|
||||
Say(text) { return daemon.say?.(text); }
|
||||
Ask(text) { return daemon.ask(text); }
|
||||
Cancel() { daemon.cancel(); }
|
||||
|
||||
Reference in New Issue
Block a user