IMagicLeapPrivilegesModule::RequestPrivilegeAsync

Requests the given privilege asynchronously.

Windows
MacOS
Linux

References

Module

MagicLeapPrivileges

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapPrivileges/Public/IMagicLeapPrivilegesModule.h

Include

#include "IMagicLeapPrivilegesModule.h"

Syntax

bool RequestPrivilegeAsync
(
    EMagicLeapPrivilege Privilege,
    const FMagicLeapPrivilegeRequestDelegate & ResultDelegate
)

Remarks

Requests the given privilege asynchronously.

Returns

True if the request was initiated successfully, false otherwise.

Parameters

Parameter

Description

ResultDelegate

The dynamic delegate to be notified upon completion of the privilege request.

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