UMagicLeapPrivilegesFunctionLibrary::RequestPrivilegeAsync

Request the specified privilege asynchronously.

Windows
MacOS
Linux

References

Module

MagicLeapPrivileges

Header

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

Include

#include "MagicLeapPrivilegesFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapPrivileges/Private/MagicLeapPrivilegesFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Privileges|MagicLeap")
static bool RequestPrivilegeAsync
(
    EMagicLeapPrivilege Privilege,
    const FMagicLeapPrivilegeRequestDelegate & ResultDelegate
)

Remarks

Request the specified privilege asynchronously. This may possibly solicit consent from the end-user. Result will be delivered to the specified delegate.

Returns

True if the privilege request was successfully dispatched, false otherwise.

Parameters

Parameter

Description

Privilege

The privilege to request.

ResultDelegate

Callback which reports the result of the 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