SFSDKFetchNotificationsRequestBuilder Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | SFRestAPI+Notifications.h |
– setSize:
Sets the number of notifications to fetch. Max and default are 20.
- (SFSDKFetchNotificationsRequestBuilder *)setSize:(NSUInteger)sizeParameters
size |
Number of notifications to fetch. |
|---|
Declared In
SFRestAPI+Notifications.h
– setBefore:
Notifications occurring before the provided date will be fetched. Shouldn’t be used with setAfter.
- (SFSDKFetchNotificationsRequestBuilder *)setBefore:(NSDate *)dateParameters
date |
Before date. If unspecified, defaults to current date and time. |
|---|
Declared In
SFRestAPI+Notifications.h
– setAfter:
Notifications occurring after the provided date will be fetched. Shouldn’t be used with setBefore.
- (SFSDKFetchNotificationsRequestBuilder *)setAfter:(NSDate *)dateParameters
date |
After date. |
|---|
Declared In
SFRestAPI+Notifications.h
– buildFetchNotificationsRequest:
Returns a request to fetch notifications based on values from the builder.
- (SFRestRequest *)buildFetchNotificationsRequest:(NSString *)apiVersionParameters
apiVersion |
API version. |
|---|
Declared In
SFRestAPI+Notifications.h