Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapPrivileges/Public/MagicLeapPrivilegesFunctionLibrary.h |
Include |
#include "MagicLeapPrivilegesFunctionLibrary.h" |
Source |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapPrivileges/Private/MagicLeapPrivilegesFunctionLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Privileges|MagicLeap")
static bool RequestPrivilegeAsync
(
EMagicLeapPrivilege Privilege,
const FMagicLeapPrivilegeRequestDelegate & ResultDelegate
)
Request the specified privilege asynchronously. This may possibly solicit consent from the end-user. Result will be delivered to the specified delegate.
True if the privilege request was successfully dispatched, false otherwise.
Parameter |
Description |
---|---|
Privilege |
The privilege to request. |
ResultDelegate |
Callback which reports the result of the request. |