PICO Unreal Platform SDK
UOnlinePicoNotificationFunction Class Reference

OnlinePicoNotification Blueprint Function class. More...

#include <Pico_Notification.h>

Static Public Member Functions

static void GetRoomInviteNotifications (UObject *WorldContextObject, int PageIdx, int PageSize, FNotificationRoomInviteNotifications OnRoomInviteNotificationsCallback)
 Gets a list of all pending room invites for your app. For example, notifications that may have been sent before the user launches your app. More...
 
static void MarkAsRead (UObject *WorldContextObject, const FString &NotificationID, FNotificationMarkAsRead OnMarkAsReadCallback)
 Marks a notification as read. More...
 

Detailed Description

OnlinePicoNotification Blueprint Function class.

Member Function Documentation

◆ GetRoomInviteNotifications()

static void GetRoomInviteNotifications ( UObject *  WorldContextObject,
int  PageIdx,
int  PageSize,
FNotificationRoomInviteNotifications  OnRoomInviteNotificationsCallback 
)
static

Gets a list of all pending room invites for your app. For example, notifications that may have been sent before the user launches your app.

Parameters
WorldContextObjectUsed to get the information about the current world.
PageIdxDefines which page of pending room invites to return. The first page index is 0.
PageSizeDefines the number of pending room invites returned on each page.
OnRoomInviteNotificationsCallbackWill be executed when the request has been completed.
Delegate will contain the requested object class (bool, bIsError, int, ErrorCode, const FString&, ErrorMessage, UPico_RoomInviteNotificationArray *, RoomInviteNotificationArray).

◆ MarkAsRead()

static void MarkAsRead ( UObject *  WorldContextObject,
const FString &  NotificationID,
FNotificationMarkAsRead  OnMarkAsReadCallback 
)
static

Marks a notification as read.

Parameters
WorldContextObjectUsed to get the information about the current world.
NotificationIDThe ID of the notificaiton to mark.
OnMarkAsReadCallbackWill be executed when the request has been completed.
Delegate will contain the requested object class (bool, bIsError, int, ErrorCode, const FString&, ErrorMessage).