@@ -48,6 +48,17 @@ public final class ApnsConfig extends com.google.api.client.json.GenericJson {
48
48
@ com .google .api .client .util .Key
49
49
private java .util .Map <String , java .lang .String > headers ;
50
50
51
+ /**
52
+ * Optional. [Apple Live Activity](https://developer.apple.com/design/human-interface-
53
+ * guidelines/live-activities) token to send updates to. This token can either be a push token or
54
+ * [push-to-
55
+ * start](https://developer.apple.com/documentation/activitykit/activity/pushtostarttoken) token
56
+ * from Apple.
57
+ * The value may be {@code null}.
58
+ */
59
+ @ com .google .api .client .util .Key
60
+ private java .lang .String liveActivityToken ;
61
+
51
62
/**
52
63
* APNs payload as a JSON object, including both `aps` dictionary and custom payload. See [Payload
53
64
* Key Reference](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_
@@ -100,6 +111,31 @@ public ApnsConfig setHeaders(java.util.Map<String, java.lang.String> headers) {
100
111
return this ;
101
112
}
102
113
114
+ /**
115
+ * Optional. [Apple Live Activity](https://developer.apple.com/design/human-interface-
116
+ * guidelines/live-activities) token to send updates to. This token can either be a push token or
117
+ * [push-to-
118
+ * start](https://developer.apple.com/documentation/activitykit/activity/pushtostarttoken) token
119
+ * from Apple.
120
+ * @return value or {@code null} for none
121
+ */
122
+ public java .lang .String getLiveActivityToken () {
123
+ return liveActivityToken ;
124
+ }
125
+
126
+ /**
127
+ * Optional. [Apple Live Activity](https://developer.apple.com/design/human-interface-
128
+ * guidelines/live-activities) token to send updates to. This token can either be a push token or
129
+ * [push-to-
130
+ * start](https://developer.apple.com/documentation/activitykit/activity/pushtostarttoken) token
131
+ * from Apple.
132
+ * @param liveActivityToken liveActivityToken or {@code null} for none
133
+ */
134
+ public ApnsConfig setLiveActivityToken (java .lang .String liveActivityToken ) {
135
+ this .liveActivityToken = liveActivityToken ;
136
+ return this ;
137
+ }
138
+
103
139
/**
104
140
* APNs payload as a JSON object, including both `aps` dictionary and custom payload. See [Payload
105
141
* Key Reference](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_
0 commit comments