The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

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