Notification Building

This section describes how you can build up notifications with their various properties.

The way it works is that you build a Notification, use any of the setting nodes to add/update properties and when you are ready, Notify the user.

The majority of these blueprint nodes return a Notification Result indicating whether or not the operation was successful.

Available Blueprint Nodes

Build Notification

API-11+

This blueprint node creates a Notification with the bare minimum required to build a notification.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Channel ID

The id of the notification channel this belongs to.

3

Content Title

The visible title of this notification.

4

Content Text

The content of the notification.

Set Notification Auto Cancel

API-11+

This blueprint node sets whether or not this notification should be dismissed when interacted with.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Auto Cancel

When the notification is interacted with, it will remove the notification.

Set Notification Small Icon

API-11+

This blueprint node sets the small symbol Icon for your notification.

If you do not set this Icon, it will default to either your application logo or Unreal Engine's logo.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Notification Small Icon

The image used for the symbol of the notification.

Be sure to import your image correctly following our guide to Importing Images.

Set Notification Color

API-21+

This blueprint node changes the color of your notification small icon set above if the small icon is completely white with a transparent background.

If your notifications small icon is not completely white with a transparent background, this will have no effect.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Color

The packed color integer (AARRGGBB) to use which only changes the color of the Notification Small Icon if the small icon is completely white with a transparent background.

You can find a list of common color values here.

Set Notification Large Icon

API-11+

This blueprint node sets the large profile picture on the right of your notification.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Notification Large Icon

The image used for the profile of the notification on the right.

Be sure to import your image correctly following our guide to Importing Images.

Set Notification Calendar Time

API-11+

This blueprint node sets when the notification was sent (the time) using a calendar values.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Year

The year part of the date.

3

Month

The month of the date (from 1 - 12).

4

Day

The day within the month.

5

Hour

The hour of the date (from 0 - 23).

6

Minute

The minute of the date (from 0 - 59)

7

Second

The second of the date (from 0 - 59)

Set Notification Epoch Time Milli

API-11+

This blueprint node sets when the notification was sent (the time) using Epoch Time.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Time

The date in Epoch Time.

Set Notification Time Now

API-11+

This blueprint node sets when the notification was sent (the time) to the current time.

1

Notification ID

The id of the notification. Must be unique per notification.

Add Notification Action

API-20+

This adds an action button to your notification below its content. This has different effects when interacted with compared to when a user interacts with the base notification.

You can have a maximum of 3 actions per notification.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Action Type

The Action Type when a user interacts with your action button.

3

Action Title

The title of your action button

4

Argument

The argument to be passed behind the scenes when a user interacts with this action to your interaction result delegate setup below.

5

Is Auto Cancel

A boolean indicating whether or not to clear this notification when a user interacts with this action button.

Set Notification Interacted Result

API-11+

This blueprint node declares the delegate which receives the notification and its corresponding interacted argument when a user interacts with your notification.

The plugin will keep any interactions saved untill this delegate is setup and then trigger it. Once triggered, it will no longer keep those interactions saved.

For base notifications, the argument will be the Content Title. For notification actions, the argument will be what you have defined it to be.

1

Notification Interacted

A delegate producing the Notification ID, Argument identifying which action/notification has been interacted with and The Time when it was interacted with in Epoch Time (milliseconds).

Set Notification Visibility

API-21+

This blueprint node sets the privacy visibility of the notification.

When set to VISIBILITY_PRIVATE, you can setup a public notification to be displayed publicly in its place using the blueprint further down.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Notification Visibility

The Visibility of the notification.

Get Current Epoch Time Milli

API-1+

This is a utility blueprint to simply provide a way to get the current epoch time in milliseconds.

This functionality may be available in some Unreal Engine versions, but not reliably, so we have provided it.

1

Return Value

Current Epoch Time in milliseconds.

Set Notification Public Version

API-21+

This sets an entirely new notification to be this notifications public version visible on lock/secure screens.

This will only be used for VISIBILITY_PRIVATE notifications, once the device is unlocked the notification will be displayed as intended instead of the public version.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Public Notification ID

Another notification's id that you have built.

Set Notification Big Text

API-16+

This blueprint node sets a longer text form of your notification when the notification is expanded.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Big Text

A longer text to be displayed in place of the content text for expanded notifications.

Set Notification Big Picture

API-16+

This blueprint node sets a large picture to be displayed for your notification when the notification is expanded.

You can also optionally hide your large Icon when this notification is expanded.

1

Notification ID

The id of the notification. Must be unique per notification.

2

Remove Icon

A boolean indicating whether or not to remove the profile image on the right when expanded.

3

Notification Large Picture

A larger image to be displayed for expanded notifications.

Be sure to import your image correctly following our guide to Importing Images.