GetSocialNotificationsCountQuery Class Reference

Inherits from NSObject
Declared in GetSocialNotificationsCountQuery.h

Properties and Methods

+ withStatuses:

Query to get notifications with the provided statuses.

+ (instancetype)withStatuses:(NSArray<GetSocialNotificationStatus> *)statuses

Parameters

statuses

statuses to find

Declared In

GetSocialNotificationsCountQuery.h

+ withAllStatuses

Query to get all notifications.

+ (instancetype)withAllStatuses

Declared In

GetSocialNotificationsCountQuery.h

+ readAndUnread

Query to get all notifications. (Deprecated: Use withStatuses.)

+ (instancetype)readAndUnread

Declared In

GetSocialNotificationsCountQuery.h

+ read

Query to get all read notifications. (Deprecated: Use withStatuses.)

+ (instancetype)read

Declared In

GetSocialNotificationsCountQuery.h

+ unread

Query to get all unread notifications. (Deprecated: Use withStatuses.)

+ (instancetype)unread

Declared In

GetSocialNotificationsCountQuery.h

– setTypes:

Set notificaton types.

- (void)setTypes:(NSArray<GetSocialNotificationType> *)types

Parameters

types

notification types. Check @see GetSocialNotificationType enum for available notification types.

Declared In

GetSocialNotificationsCountQuery.h

– setAllTypes

Sets all the available notification types.

- (void)setAllTypes

Declared In

GetSocialNotificationsCountQuery.h

– setActions:

Filter by actions.

- (void)setActions:(NSArray<GetSocialActionType> *)actions

Parameters

actions

array of possible notification actions.

Declared In

GetSocialNotificationsCountQuery.h