UMagicLeapIdentity::RequestAttributeValue

Get the values for the attributes of the user's Magic Leap profile.

Windows
MacOS
Linux

References

Module

MagicLeapIdentity

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapIdentity/Public/MagicLeapIdentity.h

Include

#include "MagicLeapIdentity.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapIdentity/Private/MagicLeapIdentity.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Identity|MagicLeap")
EMagicLeapIdentityError RequestAttributeValue
(
    const TArray< EMagicLeapIdentityKey > & RequestedAttributeList,
    TArray< FMagicLeapIdentityAttribute > & RequestedAttributeValues
)

Remarks

Get the values for the attributes of the user's Magic Leap profile. This function makes a blocking call to the cloud. You can alternatively use RequestAttributeValueAsync() to request the attribute values asynchronously.

Returns

Error code when getting the attribute values.

Parameters

Parameter

Description

RequestedAttributeList

List of attributes to request the value for.

RequestedAttributeValues

Output parameter populated with the list of attributes and their values.

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