HIVE SDK for Unreal Engine

HivePush.h
Go to the documentation of this file.
1
17#pragma once
18
19#include "CoreMinimal.h"
20#include "Impl/HivePushImpl.h"
21
22HIVESDK_API IHivePushImpl* GetIPushInstance();
23
36class HIVESDK_API FHivePush
37{
38public:
50 static void GetRemotePush(const FHivePushOnRemotePushDelegate& Delegate);
51
66 static void SetRemotePush(const FHiveRemotePush& RemotePush, const FHivePushOnRemotePushDelegate& Delegate);
67
82 static void RegisterLocalPush(const FHiveLocalPush& LocalPush, const FHivePushOnLocalPushDelegate& Delegate);
83
96 static void UnregisterLocalPush(int32 NoticeId);
97
110 static void UnregisterLocalPushes(TArray<int32> NoticeIds);
111
121
134 static void SetForegroundPush(const FHivePushSetting& Setting, const FHivePushOnPushSettingDelegate& Delegate);
135
148 static void GetForegroundPush(const FHivePushOnPushSettingDelegate& Delegate);
149
159};
Local push registration information.
Definition: HivePushTypes.h:37
In mobile games, push notification service provides an important method to increase the retention of ...
Definition: HivePush.h:37
Push setting information.
Definition: HivePushTypes.h:72
Information about the status of receiving push notification.
Definition: HivePushTypes.h:18
static void GetForegroundPush(const FHivePushOnPushSettingDelegate &Delegate)
Get the value whether to enable push notification or not on the activated app.
static void RegisterLocalPush(const FHiveLocalPush &LocalPush, const FHivePushOnLocalPushDelegate &Delegate)
Register Local push notification.
static void UnregisterLocalPush(int32 NoticeId)
Unregister Local push notification.
static void SetForegroundPush(const FHivePushSetting &Setting, const FHivePushOnPushSettingDelegate &Delegate)
Set the value whether to enable push notification or not on the activated app.
static void RequestPushPermission()
Request Push Token.
static void SetRemotePush(const FHiveRemotePush &RemotePush, const FHivePushOnRemotePushDelegate &Delegate)
Set the status of receiving push notification.
static void GetRemotePush(const FHivePushOnRemotePushDelegate &Delegate)
Request the status of receiving push notification.
static void UnregisterLocalPushes(TArray< int32 > NoticeIds)
Unregister Local push notification.
static void UnregisterAllLocalPushes()
Unregister All local pushes including Hive local pushes.
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy