@@ -90,7 +90,9 @@ public String send(@NonNull Message message) throws FirebaseMessagingException {
90
90
* Sends the given {@link Message} via Firebase Cloud Messaging.
91
91
*
92
92
* <p>If the {@code dryRun} option is set to true, the message will not be actually sent. Instead
93
- * FCM performs all the necessary validations, and emulates the send operation.
93
+ * FCM performs all the necessary validations and emulates the send operation. The {@code dryRun}
94
+ * option is useful for determining whether an FCM registration has been deleted. However, it
95
+ * cannot be used to validate APNs tokens.
94
96
*
95
97
* @param message A non-null {@link Message} to be sent.
96
98
* @param dryRun a boolean indicating whether to perform a dry run (validation only) of the send.
@@ -161,8 +163,10 @@ public BatchResponse sendAll(
161
163
* send the entire list as a single RPC call. Compared to the {@link #send(Message)} method, this
162
164
* is a significantly more efficient way to send multiple messages.
163
165
*
164
- * <p>If the {@code dryRun} option is set to true, the messages will not be actually sent. Instead
165
- * FCM performs all the necessary validations, and emulates the send operation.
166
+ * <p>If the {@code dryRun} option is set to true, the message will not be actually sent. Instead
167
+ * FCM performs all the necessary validations, and emulates the send operation. The {@code dryRun}
168
+ * option is useful for determining whether an FCM registration has been deleted. But it cannot be
169
+ * used to validate APNs tokens.
166
170
*
167
171
* <p>The responses list obtained by calling {@link BatchResponse#getResponses()} on the return
168
172
* value corresponds to the order of input messages.
@@ -227,7 +231,9 @@ public BatchResponse sendMulticast(
227
231
* Sends the given multicast message to all the FCM registration tokens specified in it.
228
232
*
229
233
* <p>If the {@code dryRun} option is set to true, the message will not be actually sent. Instead
230
- * FCM performs all the necessary validations, and emulates the send operation.
234
+ * FCM performs all the necessary validations, and emulates the send operation. The {@code dryRun}
235
+ * option is useful for determining whether an FCM registration has been deleted. But it cannot be
236
+ * used to validate APNs tokens.
231
237
*
232
238
* <p>This method uses the {@link #sendAll(List)} API under the hood to send the given
233
239
* message to all the target recipients. The responses list obtained by calling
0 commit comments