Notifications Status

Get the status of the current user’s notifications, including unread and unseen count.

Parameters 

  • API version (string)

iOS 

Swift

For the default forNotificationsStatus parameter, pass the API version string.

1RestClient.shared.request(forNotificationsStatus:)
Objective-C

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

Android 

Kotlin

1fun getRequestForNotificationsStatus(apiVersion: String?): RestRequest
Java

1public static RestRequest getRequestForNotificationsStatus(String apiVersion)

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.