GetSocialNotificationBuilder Class Reference

Inherits from NSObject
Declared in GetSocialNotificationBuilder.h

Overview

Builder to create GetSocialNotification instances.

Properties and Methods

+ builderWithId:

Creates a new builder instance with the specified notification id.

+ (instancetype)builderWithId:(GetSocialId)notificationId

Parameters

notificationId

notification id.

Declared In

GetSocialNotificationBuilder.h

– setNotificationType:

Sets the notification type.

- (void)setNotificationType:(GetSocialNotificationType)type

Parameters

type

notification type.

Declared In

GetSocialNotificationBuilder.h

– setCreatedAt:

Sets creation date.

- (void)setCreatedAt:(NSUInteger)createdAt

Parameters

createdAt

creation date.

Declared In

GetSocialNotificationBuilder.h

– setStatus:

Sets status.

- (void)setStatus:(GetSocialNotificationStatus)status

Parameters

status

notification status.

Declared In

GetSocialNotificationBuilder.h

– setText:

Sets the notification text.

- (void)setText:(NSString *)text

Parameters

text

notification text.

Declared In

GetSocialNotificationBuilder.h

– setTitle:

Sets the notification title.

- (void)setTitle:(NSString *)title

Parameters

title

notification title.

Declared In

GetSocialNotificationBuilder.h

– setImageUrl:

Sets the notification image.

- (void)setImageUrl:(NSString *)imageUrl

Parameters

imageUrl

notification image.

Declared In

GetSocialNotificationBuilder.h

– setVideoUrl:

Sets the notification video.

- (void)setVideoUrl:(NSString *)videoUrl

Parameters

videoUrl

notification video.

Declared In

GetSocialNotificationBuilder.h

– setAction:

Sets the notification action.

- (void)setAction:(GetSocialAction *)action

Parameters

action

notification action.

Declared In

GetSocialNotificationBuilder.h

– setSender:

Sets the notification sender.

- (void)setSender:(GetSocialUserReference *)sender

Parameters

sender

notification sender.

Declared In

GetSocialNotificationBuilder.h

– addActionButton:

Adds action button.

- (void)addActionButton:(GetSocialActionButton *)actionButton

Parameters

actionButton

button to add.

Declared In

GetSocialNotificationBuilder.h

– addActionButtons:

Adds array of action buttons.

- (void)addActionButtons:(NSArray<GetSocialActionButton*> *)actionButtons

Parameters

actionButtons

actionButtons to add.

Declared In

GetSocialNotificationBuilder.h

– setCustomization:

Customize notification, like change background image, title and text color. Supported only on Android.

- (void)setCustomization:(GetSocialNotificationCustomization *)customization

Parameters

customization

GetSocialNotificationCustomization instance.

Declared In

GetSocialNotificationBuilder.h

– build

Creates the notification instance.

- (GetSocialNotification *)build

Declared In

GetSocialNotificationBuilder.h