FOnlineNotificationTransportManager

This class is a static manager used to track notification transports and map the delivered notifications to subscribed notification handlers

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineNotificationTransportManager.h

Include

#include "OnlineNotificationTransportManager.h"

Syntax

class FOnlineNotificationTransportManager

Remarks

This class is a static manager used to track notification transports and map the delivered notifications to subscribed notification handlers

Variables

Name Description

Protected variable

TMap< FNotifica...

 

TransportMap

Map from a transport type to the transport object

Constructors

Name Description

Public function

FOnlineNotificationTransportManager()

Lifecycle is managed by OnlineSubSystem, all access should be through there

Destructors

Functions

Name Description

Public function

void

 

AddNotificationTransport

Add a notification transport

Public function Virtual

void

 

CloseTap

(
    FOnlineTransportTapHandle TapHandle
)

Base function for stanching the notifications

Public function

IOnlineNotif...

 

GetNotificationTransport

(
    FNotificationTransportId TransportT...
)

Get a notification transport of a specific type

Public function Virtual

FOnlineTrans...

 

OpenTap

(
    const FUniqueNetId& User,
    const FOnlineTransportTap& Tap
)

Base function for letting the notifications flow

Public function

bool

 

ReceiveTransportMessage

(
    FNotificationTransportId TransportT...,
    const IOnlineNotificationTransportM...
)

Receive a message from a specific transport, convert to notification, and pass on for delivery

Public function

void

 

RemoveNotificationTransport

(
    FNotificationTransportId TransportT...
)

Remove a notification transport

Public function

void

 

ResetNotificationTransports()

Resets all transports

Public function

bool

 

SendNotification

(
    FNotificationTransportId TransportT...,
    const FOnlineNotification& Notific...
)

Send a notification using a specific transport

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss