UMagicLeapPrivilegesFunctionLibrary::RequestPrivilege

Request the specified privilege.

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 RequestPrivilege
(
    EMagicLeapPrivilege Privilege
)

Remarks

Request the specified privilege. This may possibly solicit consent from the end-user; if so it will block.

Returns

True if the privilege is granted, false otherwise.

Parameters

Parameter

Description

Privilege

The privilege to 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