Pass on event type from CDM

This commit is contained in:
DD Liu committed 2020-10-15 19:56:24 -04:00
1 parent 7eabcb8a29
commit 04b6963788
3 files changed
+22

No files matched your search

+9
View File
@@ -601,6 +601,15 @@ class Runtime extends EventEmitter {
static get PERIPHERAL_LIST_UPDATE () {
return 'PERIPHERAL_LIST_UPDATE';
}
/**
* Event name for when the user picks a bluetooth device to connect to
* via Companion Device Manager (CDM)
* @const {string}
*/
static get USER_PICKED_PERIPHERAL () {
return 'USER_PICKED_PERIPHERAL';
}
/**
* Event name for reporting that a peripheral has connected.