Add VoiceAssistant Request Flag enum

This commit is contained in:
Jesse Hills 2023-08-14 02:15:06 +00:00
parent 5d05189e1b
commit 9673d035ad
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
3 changed files with 23 additions and 9 deletions

View File

@ -1438,6 +1438,12 @@ message SubscribeVoiceAssistantRequest {
bool subscribe = 1;
}
enum VoiceAssistantRequestFlag {
VOICE_ASSISTANT_REQUEST_NONE = 0;
VOICE_ASSISTANT_REQUEST_USE_VAD = 1;
VOICE_ASSISTANT_REQUEST_USE_WAKE_WORD = 2;
}
message VoiceAssistantRequest {
option (id) = 90;
option (source) = SOURCE_SERVER;

File diff suppressed because one or more lines are too long

View File

@ -1064,6 +1064,7 @@ class BluetoothDeviceRequestType(APIIntEnum):
class VoiceAssistantCommandFlag(enum.IntFlag):
NONE = 0
USE_VAD = 1 << 0
USE_WAKE_WORD = 1 << 1