Class MagicLeapSecureStorage
Function library for the Magic Leap Secure Storage API.
Inherited Members
Namespace: UE4.MagicLeapSecureStorage
Assembly: UE4DotNet.dll
Syntax
public class MagicLeapSecureStorage : BlueprintFunctionLibrary
Remarks
Currently supports bool, uint8, int32, float, FString, FVector, FRotator and FTransform via Blueprints. Provides a template function for any non specialized types to be used via C++. TODO: Support TArray and a generic USTRUCT.
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static MagicLeapSecureStorage DefaultObject { get; }
Property Value
Type | Description |
---|---|
MagicLeapSecureStorage |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceDeleteSecureData(String)
Deletes the data associated with the specified key.
Declaration
public static bool DeleteSecureData(string Key)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
@param Key The string key of the data to delete. @return True if the data was deleted successfully or did not exist altogether, false otherwise.
GetSecureBool(String)
Retrieves the boolean associated with the specified key.
Declaration
public static (bool, bool) GetSecureBool(string Key)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Boolean, System.Boolean> |
Remarks
@param Key The string key to look for. @param DataToRetrieve Reference to the variable that will be populated with the stored data. @return True if the key was found and output parameter was successfully populated with the data, false otherwise.
GetSecureByte(String)
Retrieves the byte (uint8) associated with the specified key.
Declaration
public static (byte, bool) GetSecureByte(string Key)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Byte, System.Boolean> |
Remarks
@param Key The string key to look for. @param DataToRetrieve Reference to the variable that will be populated with the stored data. @return True if the key was found and output parameter was successfully populated with the data, false otherwise.
GetSecureFloat(String)
Retrieves the float associated with the specified key.
Declaration
public static (float, bool) GetSecureFloat(string Key)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Single, System.Boolean> |
Remarks
@param Key The string key to look for. @param DataToRetrieve Reference to the variable that will be populated with the stored data. @return True if the key was found and output parameter was successfully populated with the data, false otherwise.
GetSecureInt(String)
Retrieves the integer (int32) associated with the specified key.
Declaration
public static (int, bool) GetSecureInt(string Key)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Int32, System.Boolean> |
Remarks
@param Key The string key to look for. @param DataToRetrieve Reference to the variable that will be populated with the stored data. @return True if the key was found and output parameter was successfully populated with the data, false otherwise.
GetSecureRotator(String)
Retrieves the rotator associated with the specified key.
Declaration
public static (Rotator, bool) GetSecureRotator(string Key)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key |
Returns
Type | Description |
---|---|
System.ValueTuple<Rotator, System.Boolean> |
Remarks
@param Key The string key to look for. @param DataToRetrieve Reference to the variable that will be populated with the stored data. @return True if the key was found and output parameter was successfully populated with the data, false otherwise.
GetSecureString(String)
Retrieves the string associated with the specified key.
Declaration
public static (string, bool) GetSecureString(string Key)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key |
Returns
Type | Description |
---|---|
System.ValueTuple<System.String, System.Boolean> |
Remarks
@param Key The string key to look for. @param DataToRetrieve Reference to the variable that will be populated with the stored data. @return True if the key was found and output parameter was successfully populated with the data, false otherwise.
GetSecureTransform(String)
Retrieves the transform associated with the specified key.
Declaration
public static (Transform, bool) GetSecureTransform(string Key)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key |
Returns
Type | Description |
---|---|
System.ValueTuple<Transform, System.Boolean> |
Remarks
@param Key The string key to look for. @param DataToRetrieve Reference to the variable that will be populated with the stored data. @return True if the key was found and output parameter was successfully populated with the data, false otherwise.
GetSecureVector(String)
Retrieves the vector associated with the specified key.
Declaration
public static (Vector, bool) GetSecureVector(string Key)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key |
Returns
Type | Description |
---|---|
System.ValueTuple<Vector, System.Boolean> |
Remarks
@param Key The string key to look for. @param DataToRetrieve Reference to the variable that will be populated with the stored data. @return True if the key was found and output parameter was successfully populated with the data, false otherwise.
New(UObject, Name)
Spawn an object of this class
Declaration
public static MagicLeapSecureStorage New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
MagicLeapSecureStorage |
PutSecureBool(String, Boolean)
Stores the boolean under the specified key.
Declaration
public static bool PutSecureBool(string Key, bool DataToStore)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key | |
System.Boolean | DataToStore |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
An existing key would be overwritten. @param Key String key associated with the data. @param DataToStore The data to store. @return True if the data was stored successfully, false otherwise.
PutSecureByte(String, Byte)
Stores the byte (uint8) under the specified key.
Declaration
public static bool PutSecureByte(string Key, byte DataToStore)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key | |
System.Byte | DataToStore |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
An existing key would be overwritten. @param Key String key associated with the data. @param DataToStore The data to store. @return True if the data was stored successfully, false otherwise.
PutSecureFloat(String, Single)
Stores the float under the specified key.
Declaration
public static bool PutSecureFloat(string Key, float DataToStore)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key | |
System.Single | DataToStore |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
An existing key would be overwritten. @param Key String key associated with the data. @param DataToStore The data to store. @return True if the data was stored successfully, false otherwise.
PutSecureInt(String, Int32)
Stores the integer (int32) under the specified key.
Declaration
public static bool PutSecureInt(string Key, int DataToStore)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key | |
System.Int32 | DataToStore |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
An existing key would be overwritten. @param Key String key associated with the data. @param DataToStore The data to store. @return True if the data was stored successfully, false otherwise.
PutSecureRotator(String, Rotator)
Stores the rotator under the specified key.
Declaration
public static bool PutSecureRotator(string Key, Rotator DataToStore)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key | |
Rotator | DataToStore |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
An existing key would be overwritten. @param Key String key associated with the data. @param DataToStore The data to store. @return True if the data was stored successfully, false otherwise.
PutSecureString(String, String)
Stores the string under the specified key.
Declaration
public static bool PutSecureString(string Key, string DataToStore)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key | |
System.String | DataToStore |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
An existing key would be overwritten. @param Key String key associated with the data. @param DataToStore The data to store. @return True if the data was stored successfully, false otherwise.
PutSecureTransform(String, Transform)
Stores the transform under the specified key.
Declaration
public static bool PutSecureTransform(string Key, Transform DataToStore)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key | |
Transform | DataToStore |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
An existing key would be overwritten. @param Key String key associated with the data. @param DataToStore The data to store. @return True if the data was stored successfully, false otherwise.
PutSecureVector(String, Vector)
Stores the vector under the specified key.
Declaration
public static bool PutSecureVector(string Key, Vector DataToStore)
Parameters
Type | Name | Description |
---|---|---|
System.String | Key | |
Vector | DataToStore |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
An existing key would be overwritten. @param Key String key associated with the data. @param DataToStore The data to store. @return True if the data was stored successfully, false otherwise.
Operators
| Improve this Doc View SourceImplicit(IntPtr to MagicLeapSecureStorage)
Convert from IntPtr to UObject
Declaration
public static implicit operator MagicLeapSecureStorage(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
MagicLeapSecureStorage |