Added notification_supported_by_agent to indicate whether the agent is sending notifications to Google or not.
PiperOrigin-RevId: 279991530
This commit is contained in:
parent
675de3dc9a
commit
6a8c7914d1
|
|
@ -67,6 +67,16 @@ message Device {
|
|||
// synced device for local execution (i.e. local verification). If used for
|
||||
// local verification, this field is synced from the cloud.
|
||||
repeated AgentOtherDeviceId other_device_ids = 11;
|
||||
|
||||
// Indicates whether the device is capable of sending notifications. This
|
||||
// field will be set by the agent (partner) on an incoming SYNC. If a device
|
||||
// is not capable of generating notifications, the partner should set this
|
||||
// flag to false. If a partner is not capable of calling
|
||||
// ReportStateAndNotification to send notifications to Google, the partner
|
||||
// should set this flag to false. If there is a user setting in the partner
|
||||
// app to enable notifications and it is turned off, the partner should set
|
||||
// this flag to false.
|
||||
bool notification_supported_by_agent = 12;
|
||||
}
|
||||
|
||||
// Different names for the device.
|
||||
|
|
|
|||
Loading…
Reference in New Issue