GetSocialNotification Class Reference

Inherits from NSObject
Declared in GetSocialNotification.h

Overview

Describes notification object.

Properties and Methods

@property type

Returns an enum value of the type.

@property (nonatomic, readonly) GetSocialNotificationType type

Discussion

Returns an enum value of the type.

Declared In

GetSocialNotification.h

@property status

Return notification status.

@property (nonatomic, readonly) GetSocialNotificationStatus status

Discussion

Return notification status.

Declared In

GetSocialNotification.h

@property createdAt

Date of notification creation.

@property (nonatomic, readonly) NSUInteger createdAt

Return Value

UNIX-timestamp of creation date in seconds.

Discussion

Date of notification creation.

Declared In

GetSocialNotification.h

@property notificationId

Get the unique notification identifier.

@property (nonatomic, copy, readonly) GetSocialId notificationId

Discussion

Get the unique notification identifier.

Declared In

GetSocialNotification.h

@property text

Message of Push Notification.

@property (nonatomic, copy, readonly) NSString *text

Discussion

Message of Push Notification.

Declared In

GetSocialNotification.h

@property title

Title of Push Notification.

@property (nonatomic, copy, readonly) NSString *title

Discussion

Title of Push Notification.

Declared In

GetSocialNotification.h

@property imageUrl

Image url in Push Notification.

@property (nonatomic, copy, readonly) NSString *imageUrl

Discussion

Image url in Push Notification.

Declared In

GetSocialNotification.h

@property videoUrl

Video url in Push Notification.

@property (nonatomic, copy, readonly) NSString *videoUrl

Discussion

Video url in Push Notification.

Declared In

GetSocialNotification.h

@property notificationAction

Action to perform on notification click.

@property (nonatomic, strong, readonly) GetSocialAction *notificationAction

Discussion

Action to perform on notification click.

Declared In

GetSocialNotification.h

@property actionButtons

Action buttons with notifications.

@property (nonatomic, strong, readonly) NSArray<GetSocialActionButton*> *actionButtons

Discussion

Action buttons with notifications.

Declared In

GetSocialNotification.h

@property sender

Notification sender.

@property (nonatomic, strong, readonly) GetSocialUserReference *sender

Discussion

Notification sender.

Declared In

GetSocialNotification.h

@property customization

Returns customization settings, like background image, title color, etc. Settings used only on Android.

@property (nonatomic, strong, readonly) GetSocialNotificationCustomization *customization

Discussion

Returns customization settings, like background image, title color, etc. Settings used only on Android.

Declared In

GetSocialNotification.h

@property actionData

Data passed with action. (Deprecated: Use notificationAction property.)

@property (nonatomic, strong, readonly) NSDictionary<GetSocialNotificationKey,NSString*> *actionData

Discussion

Data passed with action.

Declared In

GetSocialNotification.h

@property wasRead

Return was notification read by user or not. (Deprecated: Use status property.)

@property (nonatomic, readonly) BOOL wasRead

Return Value

YES, if notification was clicked by user or marked as read by developer.

Discussion

Return was notification read by user or not.

Declared In

GetSocialNotification.h

@property action

Returns an enum value of the action. (Deprecated: Use notificationAction property.)

@property (nonatomic, readonly) GetSocialNotificationActionType action

Discussion

Returns an enum value of the action.

Declared In

GetSocialNotification.h

Constants

GetSocialNotificationKey

typedef NSString* GetSocialNotificationKey NS_EXTENSIBLE_STRING_ENUM DEPRECATED_ATTRIBUTE;

Defined Values

// GetSocialNotificationKey_OpenActivity_ActivityId and GetSocialNotificationKey_OpenActivity_FeedName are mutually exclusive.
extern GetSocialNotificationKey GetSocialNotificationKey_OpenActivity_ActivityId DEPRECATED_ATTRIBUTE;
// Optional. Can be present with GetSocialNotificationKey_OpenActivity_ActivityId only.
extern GetSocialNotificationKey GetSocialNotificationKey_OpenActivity_CommentId DEPRECATED_ATTRIBUTE;
// GetSocialNotificationKey_OpenActivity_ActivityId and GetSocialNotificationKey_OpenActivity_FeedName are mutually exclusive.
extern GetSocialNotificationKey GetSocialNotificationKey_OpenActivity_FeedName DEPRECATED_ATTRIBUTE;
// ID of user to be opened.
extern GetSocialNotificationKey GetSocialNotificationKey_OpenProfile_UserId DEPRECATED_ATTRIBUTE;
// URL to be opened.
extern GetSocialNotificationKey GetSocialNotificationKey_OpenUrl_Url DEPRECATED_ATTRIBUTE;

GetSocialNotificationStatus

Type definition for different notification statuses.

typedef NSString* GetSocialNotificationStatus NS_EXTENSIBLE_STRING_ENUM;

Defined Values

GetSocialNotificationType

Enumeration represents possible notification types.

typedef NSString* GetSocialNotificationType NS_EXTENSIBLE_STRING_ENUM;

Defined Values