Notification

Fetches a single notification by its notification ID.

Parameters 

  • API version (string)
  • Notification ID (string)

iOS 

Swift

1RestClient.shared.request(forNotification:apiVersion:)
Objective-C

1#import <SalesforceSDKCore/SFRestAPI+Notifications.h>
2...
3- (SFRestRequest *)requestForNotification:(NSString *)notificationId apiVersion:(NSString *)apiVersion;

Android 

Kotlin

1fun getRequestForNotification(apiVersion: String?, notificationId: String?): RestRequest
Java

1public static RestRequest getRequestForNotification(String apiVersion, String notificationId)

See Also 

We've Moved

Welcome to the new home of the Mobile SDK Developer Guide! For now, the Japanese guide can be found in PDF form.