Notification Update

Updates the “read” (if non-null) and “seen” (if non-null) statuses of the notification with the given ID.

In iOS, use the Swift UpdateNotificationsRequestBuilder object or the Objective-C SFSDKUpdateNotificationsRequestBuilder object to create update requests.

Pass the notification’s ID to the notificationId property

Swift

<!-- TO DO: Test this-->

Objective-C

<!-- TO DO: Test this-->

Parameters

  • apiVersion (String)
  • notificationId (String)
  • read (Boolean)
  • seen (Boolean)
Kotlin

Java