PICO Unreal Platform SDK
|
FPicoNotificationInterface class. More...
#include <Pico_Notification.h>
Public Member Functions | |
bool | GetRoomInviteNotifications (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... | |
bool | MarkAsRead (const FString &NotificationID, FNotificationMarkAsRead OnMarkAsReadCallback) |
Marks a notification as read. More... | |
FPicoNotificationInterface class.
bool GetRoomInviteNotifications | ( | 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.
PageIdx | Defines which page of pending room invites to return. The first page index is 0 . |
PageSize | Defines the number of pending room invites returned on each page. |
OnRoomInviteNotificationsCallback | Will 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). |
true
: success false
: failure
bool MarkAsRead | ( | const FString & | NotificationID, |
FNotificationMarkAsRead | OnMarkAsReadCallback | ||
) |
Marks a notification as read.
NotificationID | The ID of the notificaiton to mark. |
OnMarkAsReadCallback | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, int, ErrorCode, const FString&, ErrorMessage). |
true
: success false
: failure