UMagicLeapConnectionsComponent::SendInviteAsync

Submits a request to start the invite sending process.

Windows
MacOS
Linux

References

Module

MagicLeapConnections

Header

/Engine/Plugins/Lumin/MagicLeapConnections/Source/Public/MagicLeapConnectionsComponent.h

Include

#include "MagicLeapConnectionsComponent.h"

Source

/Engine/Plugins/Lumin/MagicLeapConnections/Source/Private/MagicLeapConnectionsComponent.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Connections | MagicLeap")
bool SendInviteAsync
(
    const FMagicLeapConnectionsInviteArgs & Args,
    FGuid & OutInviteHandle
)

Remarks

Submits a request to start the invite sending process. Request an invite to be sent for other connections to join a multi-user experience. This call will trigger a connections invite dialog requesting the user to select up to the specified number of online users to be invited. The system will then initiate a push notification to other online devices, start a copy of the application requesting the invite and deliver the given payload. If the requesting application is not installed on the receiving device, the system will prompt the user to install via Magic Leap World app.

Returns

True if the invite is successfully created, false otherwise.

Parameters

Parameter

Description

Args

The arguments for the sending invite process.

OutInviteHandle

A valid FGuid to the invite request if the function call succeeds.

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