Class MagicLeapIdentity
Class which provides functions to read and update the user's Magic Leap profile.
Inherited Members
Namespace: UE4.MagicLeapIdentity
Assembly: UE4DotNet.dll
Syntax
public class MagicLeapIdentity : UObject
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static MagicLeapIdentity DefaultObject { get; }
Property Value
Type | Description |
---|---|
MagicLeapIdentity |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceGetAllAvailableAttributes()
Get the attributes available for the user's Magic Leap profile.
Declaration
public (IReadOnlyCollection<EMagicLeapIdentityKey>, EMagicLeapIdentityError) GetAllAvailableAttributes()
Returns
Type | Description |
---|---|
System.ValueTuple<System.Collections.Generic.IReadOnlyCollection<EMagicLeapIdentityKey>, EMagicLeapIdentityError> |
Remarks
Note that this does not request the values for these attribtues. This function makes a blocking call to the cloud. You can alternatively use GetAllAvailableAttributesAsync() to request the attributes asynchronously. @param AvailableAttributes Output parameter populated with the list of attributes available for the user's Magic Leap profile. @return Error code when getting the list of available attributes.
GetAllAvailableAttributesAsync(Byte)
Asynchronous call to get the attributes available for the user's Magic Leap profile.
Declaration
public void GetAllAvailableAttributesAsync(byte ResultDelegate)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | ResultDelegate |
Remarks
Note that this does not request the values for these attribtues. @param ResultDelegate Callback which reports the list of available attributes. @return Error code when getting the list of available attributes.
New(UObject, Name)
Spawn an object of this class
Declaration
public static MagicLeapIdentity New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
MagicLeapIdentity |
RequestAttributeValue(Byte)
Get the values for the attributes of the user's Magic Leap profile.
Declaration
public (IReadOnlyCollection<MagicLeapIdentityAttribute>, EMagicLeapIdentityError) RequestAttributeValue(byte RequestedAttributeList)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | RequestedAttributeList |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Collections.Generic.IReadOnlyCollection<MagicLeapIdentityAttribute>, EMagicLeapIdentityError> |
Remarks
This function makes a blocking call to the cloud. You can alternatively use RequestAttributeValueAsync() to request the attribute values asynchronously. @param RequestedAttributeList List of attributes to request the value for. @param RequestedAttributeValues Output parameter populated with the list of attributes and their values. @return Error code when getting the attribute values.
RequestAttributeValueAsync(Byte, Byte)
Asynchronous call to get the values for the attributes of the user's Magic Leap profile.
Declaration
public EMagicLeapIdentityError RequestAttributeValueAsync(byte RequestedAttributeList, byte ResultDelegate)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | RequestedAttributeList | |
System.Byte | ResultDelegate |
Returns
Type | Description |
---|---|
EMagicLeapIdentityError |
Remarks
@param RequestedAttributeList List of attributes to request the value for. @param ResultDelegate Callback which reports the list of attributes and their values. @return Error code when getting the attribute values.
Operators
| Improve this Doc View SourceImplicit(IntPtr to MagicLeapIdentity)
Convert from IntPtr to UObject
Declaration
public static implicit operator MagicLeapIdentity(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
MagicLeapIdentity |