Class MagicLeapPrivileges
Class which provides functions to check and request the priviliges the app has at runtime.
Inheritance
System.Object
MagicLeapPrivileges
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class MagicLeapPrivileges : ActorComponent
Properties
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static MagicLeapPrivileges DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
CheckPrivilege(EMagicLeapPrivilege)
Check whether the application has the specified privilege.
Declaration
public bool CheckPrivilege(EMagicLeapPrivilege Privilege)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static MagicLeapPrivileges New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
RequestPrivilege(EMagicLeapPrivilege)
Request the specified privilege.
Declaration
public bool RequestPrivilege(EMagicLeapPrivilege Privilege)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RequestPrivilegeAsync(EMagicLeapPrivilege, Byte)
Request the specified privilege asynchronously.
Declaration
public bool RequestPrivilegeAsync(EMagicLeapPrivilege Privilege, byte ResultDelegate)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to MagicLeapPrivileges)
Convert from IntPtr to UObject
Declaration
public static implicit operator MagicLeapPrivileges(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns