@@ -319,7 +319,7 @@ public async Task<BatchResponse> SendMulticastAsync(
319
319
/// </summary>
320
320
/// <param name="topic">The topic name to subscribe to. /topics/ will be prepended to the topic name provided if absent.</param>
321
321
/// <param name="registrationTokens">A list of registration tokens to subscribe.</param>
322
- /// <returns>The response produced by FCM topic management operations.</returns>
322
+ /// <returns>A task that completes with a <see cref="TopicManagementResponse"/>, giving details about the topic subscription operations.</returns>
323
323
public async Task < TopicManagementResponse > SubscribeToTopicAsync ( string topic , List < string > registrationTokens )
324
324
{
325
325
return await this . instanceIdClient . SubscribeToTopicAsync ( topic , registrationTokens ) ;
@@ -330,7 +330,7 @@ public async Task<TopicManagementResponse> SubscribeToTopicAsync(string topic, L
330
330
/// </summary>
331
331
/// <param name="topic">The topic name to unsubscribe from. /topics/ will be prepended to the topic name provided if absent.</param>
332
332
/// <param name="registrationTokens">A list of registration tokens to unsubscribe.</param>
333
- /// <returns>The response produced by FCM topic management operations.</returns>
333
+ /// <returns>A task that completes with a <see cref="TopicManagementResponse"/>, giving details about the topic unsubscription operations.</returns>
334
334
public async Task < TopicManagementResponse > UnsubscribeFromTopicAsync ( string topic , List < string > registrationTokens )
335
335
{
336
336
return await this . instanceIdClient . UnsubscribeFromTopicAsync ( topic , registrationTokens ) ;
@@ -342,6 +342,7 @@ public async Task<TopicManagementResponse> UnsubscribeFromTopicAsync(string topi
342
342
void IFirebaseService . Delete ( )
343
343
{
344
344
this . messagingClient . Dispose ( ) ;
345
+ this . instanceIdClient . Dispose ( ) ;
345
346
}
346
347
}
347
348
}
0 commit comments