Skip to content

AppNotificationsBase

Class in Engine · Engine.AppNotificationsBase · native

Object › PlatformInterfaceBase › AppNotificationsBase

Using it from Lua
h7.find_all("AppNotificationsBase")            -- live instances
h7.find_class("Engine.AppNotificationsBase")   -- the class
h7.hook("Engine.AppNotificationsBase.AllowsRemoteNotificationsAlerts", fn)

Structs

LaunchNotificationInfo

FieldType
bWasLaunchedViaNotificationbool
NotificationNotificationInfo

NotificationInfo

FieldType
bIsLocalbool
MessageBodystring
BadgeNumberint
MessageInfoarray<NotificationMessageInfo>

NotificationMessageInfo

FieldType
Keystring
Valuestring

Properties

NameTypeNotes
AppLaunchNotificationLaunchNotificationInfoconst

Functions

NameDeclaration
AllowsRemoteNotificationsAlertsnative function bool AllowsRemoteNotificationsAlerts()
AllowsRemoteNotificationsBadegeIconsnative function bool AllowsRemoteNotificationsBadegeIcons()
AllowsRemoteNotificationsSoundsnative function bool AllowsRemoteNotificationsSounds()
AreRemoteNotificationsEnablednative function bool AreRemoteNotificationsEnabled()
CancelAllScheduledLocalNotificationsnative function CancelAllScheduledLocalNotifications()
CancelScheduledLocalNotificationnative function CancelScheduledLocalNotification(const out NotificationMessageInfo KeyValue)
DebugLogNotificationfunction DebugLogNotification(const out NotificationInfo Notification)
Initnative event Init()
OnApplicationWillEnterForegrounddelegate OnApplicationWillEnterForeground()
OnReceivedLocalNotificationdelegate OnReceivedLocalNotification(const out NotificationInfo Notification, bool bWasAppActive)
OnReceivedRemoteNotificationdelegate OnReceivedRemoteNotification(const out NotificationInfo Notification, bool bWasAppActive)
OnRegisterForRemoteNotificationsCompletedelegate OnRegisterForRemoteNotificationsComplete(bool bDidAccept, String PushNotificationToken)
RegisterForRemoteNotificationsnative function RegisterForRemoteNotifications(bool bWantsAlerts = true, bool bWantsBadge = true, bool bWantsSound = false)
ScheduleLocalNotificationnative function ScheduleLocalNotification(const out NotificationInfo Notification, int StartOffsetSeconds)
WasLaunchedViaNotificationfunction bool WasLaunchedViaNotification()

Inherited

FromMembers
PlatformInterfaceBase1 properties, 14 functions
Object13 properties, 308 functions