UMagicLeapPrivilegesFunctionLibrary::CheckPrivilege

Check whether the application has 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 CheckPrivilege
(
    EMagicLeapPrivilege Privilege
)

Remarks

Check whether the application has the specified privilege. This does not solicit consent from the end-user and is non-blocking.

Returns

True if the privilege is granted, false otherwise.

Parameters

Parameter

Description

Privilege

The privilege to check.

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