engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FIOSLocalNotificationService类 参考

IOSLocalNotification implementation of an Unreal local notification service. 更多...

#include <IOSLocalNotification.h>

+ 类 FIOSLocalNotificationService 继承关系图:

Public 成员函数

virtual void CancelLocalNotification (const FString &ActivationEvent)
 Cancel a local notification given the ActivationEvent 更多...
 
virtual void ClearAllLocalNotifications ()
 Clear all pending local notifications. 更多...
 
virtual void GetLaunchNotification (bool &NotificationLaunchedApp, FString &ActivationEvent, int32 &FireDate)
 Get the local notification that was used to launch the app 更多...
 
virtual int32 ScheduleLocalNotificationAtTime (const FDateTime &FireDateTime, bool LocalTime, const FText &Title, const FText &Body, const FText &Action, const FString &ActivationEvent)
 Schedule a local notification at a specific time, inLocalTime specifies the current local time or if UTC time should be used 更多...
 
virtual int32 ScheduleLocalNotificationBadgeAtTime (const FDateTime &FireDateTime, bool LocalTime, const FString &ActivationEvent)
 Schedule a local notification badge at a specific time, inLocalTime specifies the current local time or if UTC time should be used 更多...
 
virtual void SetLaunchNotification (FString const &ActivationEvent, int32 FireDate)
 Set the local notification that was used to launch the app 更多...
 
- Public 成员函数 继承自 ILocalNotificationService
virtual void CancelLocalNotification (const FString &ActivationEvent)=0
 Cancel a local notification given the ActivationEvent 更多...
 
virtual void CancelLocalNotification (int32 NotificationId)=0
 Cancel a local notification given the ActivationEvent 更多...
 
virtual void ClearAllLocalNotifications ()=0
 Clear all pending local notifications. 更多...
 
virtual void GetLaunchNotification (bool &NotificationLaunchedApp, FString &ActivationEvent, int32 &FireDate)=0
 Get the local notification that was used to launch the app 更多...
 
virtual int32 ScheduleLocalNotificationAtTime (const FDateTime &FireDateTime, bool LocalTime, const FText &Title, const FText &Body, const FText &Action, const FString &ActivationEvent)=0
 Schedule a local notification at a specific time, inLocalTime specifies the current local time or if UTC time should be used 更多...
 
virtual int32 ScheduleLocalNotificationBadgeAtTime (const FDateTime &FireDateTime, bool LocalTime, const FString &ActivationEvent)=0
 Schedule a local notification badge at a specific time, inLocalTime specifies the current local time or if UTC time should be used 更多...
 
virtual void SetLaunchNotification (FString const &ActivationEvent, int32 FireDate)=0
 Set the local notification that was used to launch the app 更多...
 

详细描述

IOSLocalNotification implementation of an Unreal local notification service.

成员函数说明

◆ CancelLocalNotification()

virtual void FIOSLocalNotificationService::CancelLocalNotification ( const FString &  ActivationEvent)
virtual

Cancel a local notification given the ActivationEvent

参数
ActivationEventThe string passed into the Schedule call for the notification to be cancelled

实现了 ILocalNotificationService.

◆ ClearAllLocalNotifications()

virtual void FIOSLocalNotificationService::ClearAllLocalNotifications ( )
virtual

Clear all pending local notifications.

Typically this will be done before scheduling new notifications when going into the background

实现了 ILocalNotificationService.

◆ GetLaunchNotification()

virtual void FIOSLocalNotificationService::GetLaunchNotification ( bool &  NotificationLaunchedApp,
FString &  ActivationEvent,
int32 &  FireDate 
)
virtual

Get the local notification that was used to launch the app

参数
NotificationLaunchedAppReturn true if a notification was used to launch the app
ActivationEventReturns the name of the ActivationEvent if a notification was used to launch the app
FireDateReturns the time the notification was activated

实现了 ILocalNotificationService.

◆ ScheduleLocalNotificationAtTime()

virtual int32 FIOSLocalNotificationService::ScheduleLocalNotificationAtTime ( const FDateTime &  FireDateTime,
bool  LocalTime,
const FText &  Title,
const FText &  Body,
const FText &  Action,
const FString &  ActivationEvent 
)
virtual

Schedule a local notification at a specific time, inLocalTime specifies the current local time or if UTC time should be used

参数
FireDateTimeThe time at which to fire the local notification
LocalTimeIf true the provided time is in the local timezone, if false it is in UTC
TitleThe title of the notification
BodyThe more detailed description of the notification
ActionThe text to be displayed on the slider controller
ActivationEventA string that is passed in the delegate callback when the app is brought into the foreground from the user activating the notification
返回
A unique identifier used to cancel the notification

实现了 ILocalNotificationService.

◆ ScheduleLocalNotificationBadgeAtTime()

virtual int32 FIOSLocalNotificationService::ScheduleLocalNotificationBadgeAtTime ( const FDateTime &  FireDateTime,
bool  LocalTime,
const FString &  ActivationEvent 
)
virtual

Schedule a local notification badge at a specific time, inLocalTime specifies the current local time or if UTC time should be used

参数
FireDateTimeThe time at which to fire the local notification
LocalTimeIf true the provided time is in the local timezone, if false it is in UTC
ActivationEventA string that is passed in the delegate callback when the app is brought into the foreground from the user activating the notification
返回
A unique identifier used to cancel the notification

实现了 ILocalNotificationService.

◆ SetLaunchNotification()

virtual void FIOSLocalNotificationService::SetLaunchNotification ( FString const &  ActivationEvent,
int32  FireDate 
)
virtual

Set the local notification that was used to launch the app

参数
ActivationEventReturns the name of the ActivationEvent if a notification was used to launch the app
FireDateReturns the time the notification was activated

实现了 ILocalNotificationService.


该类的文档由以下文件生成: