IOnlineSession::DestroySession

Destroys the specified online session

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

bool DestroySession
(
    FName SessionName,
    const FOnDestroySessionCompleteDelegate & CompletionDelegate
)

Remarks

Destroys the specified online session

online session de-registration is an async process and does not complete until the OnDestroySessionComplete delegate is called.

Returns

true if successful destroying the session, false otherwise

Parameters

Parameter

Description

SessionName

the name of the session to delete

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