|
33 | 33 | public final class AndroidConfigV2 extends com.google.api.client.json.GenericJson { |
34 | 34 |
|
35 | 35 | /** |
36 | | - * Optional. Non-urgent background sync message to send to android devices. |
| 36 | + * Optional. Non-urgent background sync message to send to Android devices. Delivery of these |
| 37 | + * messages may be delayed or batched to optimize for battery. |
37 | 38 | * The value may be {@code null}. |
38 | 39 | */ |
39 | 40 | @com.google.api.client.util.Key |
@@ -82,7 +83,8 @@ public final class AndroidConfigV2 extends com.google.api.client.json.GenericJso |
82 | 83 | private AndroidFcmOptions fcmOptions; |
83 | 84 |
|
84 | 85 | /** |
85 | | - * Optional. User-facing notification to send to android devices. |
| 86 | + * Optional. User-facing notification to send to Android devices. These messages are delivered |
| 87 | + * immediately and are not delayed by battery optimizations. |
86 | 88 | * The value may be {@code null}. |
87 | 89 | */ |
88 | 90 | @com.google.api.client.util.Key |
@@ -122,15 +124,17 @@ public final class AndroidConfigV2 extends com.google.api.client.json.GenericJso |
122 | 124 | private String ttl; |
123 | 125 |
|
124 | 126 | /** |
125 | | - * Optional. Non-urgent background sync message to send to android devices. |
| 127 | + * Optional. Non-urgent background sync message to send to Android devices. Delivery of these |
| 128 | + * messages may be delayed or batched to optimize for battery. |
126 | 129 | * @return value or {@code null} for none |
127 | 130 | */ |
128 | 131 | public AndroidBackgroundSyncMessage getBackgroundSync() { |
129 | 132 | return backgroundSync; |
130 | 133 | } |
131 | 134 |
|
132 | 135 | /** |
133 | | - * Optional. Non-urgent background sync message to send to android devices. |
| 136 | + * Optional. Non-urgent background sync message to send to Android devices. Delivery of these |
| 137 | + * messages may be delayed or batched to optimize for battery. |
134 | 138 | * @param backgroundSync backgroundSync or {@code null} for none |
135 | 139 | */ |
136 | 140 | public AndroidConfigV2 setBackgroundSync(AndroidBackgroundSyncMessage backgroundSync) { |
@@ -238,15 +242,17 @@ public AndroidConfigV2 setFcmOptions(AndroidFcmOptions fcmOptions) { |
238 | 242 | } |
239 | 243 |
|
240 | 244 | /** |
241 | | - * Optional. User-facing notification to send to android devices. |
| 245 | + * Optional. User-facing notification to send to Android devices. These messages are delivered |
| 246 | + * immediately and are not delayed by battery optimizations. |
242 | 247 | * @return value or {@code null} for none |
243 | 248 | */ |
244 | 249 | public AndroidRemoteNotification getRemoteNotification() { |
245 | 250 | return remoteNotification; |
246 | 251 | } |
247 | 252 |
|
248 | 253 | /** |
249 | | - * Optional. User-facing notification to send to android devices. |
| 254 | + * Optional. User-facing notification to send to Android devices. These messages are delivered |
| 255 | + * immediately and are not delayed by battery optimizations. |
250 | 256 | * @param remoteNotification remoteNotification or {@code null} for none |
251 | 257 | */ |
252 | 258 | public AndroidConfigV2 setRemoteNotification(AndroidRemoteNotification remoteNotification) { |
|
0 commit comments