Show / Hide Table of Contents

Class MagicLeapPrivileges

Class which provides functions to check and request the priviliges the app has at runtime.

Inheritance
System.Object
UObject
ActorComponent
MagicLeapPrivileges
Inherited Members
ActorComponent.RegisterComponent()
ActorComponent.UnregisterComponent()
ActorComponent.ReceiveBeginPlay
ActorComponent.ReceiveEndPlay
ActorComponent.ReceiveTick
ActorComponent.Activate(Boolean)
ActorComponent.AddTickPrerequisiteActor(Actor)
ActorComponent.AddTickPrerequisiteComponent(ActorComponent)
ActorComponent.ComponentHasTag(Name)
ActorComponent.Deactivate()
ActorComponent.GetComponentTickInterval()
ActorComponent.GetOwner()
ActorComponent.IsActive()
ActorComponent.IsBeingDestroyed()
ActorComponent.IsComponentTickEnabled()
ActorComponent.K2_DestroyComponent(UObject)
ActorComponent.RemoveTickPrerequisiteActor(Actor)
ActorComponent.RemoveTickPrerequisiteComponent(ActorComponent)
ActorComponent.SetActive(Boolean, Boolean)
ActorComponent.SetAutoActivate(Boolean)
ActorComponent.SetComponentTickEnabled(Boolean)
ActorComponent.SetComponentTickInterval(Single)
ActorComponent.SetIsReplicated(Boolean)
ActorComponent.SetTickableWhenPaused(Boolean)
ActorComponent.SetTickGroup(Byte)
ActorComponent.ToggleActive()
ActorComponent.PrimaryComponentTick
ActorComponent.AssetUserData
ActorComponent.bReplicates
ActorComponent.bNetAddressable
ActorComponent.bAutoActivate
ActorComponent.bIsActive
ActorComponent.bEditableWhenInherited
ActorComponent.bCanEverAffectNavigation
ActorComponent.bIsEditorOnly
ActorComponent.bIsVisualizationComponent
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
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)
Namespace: UE4.MagicLeap
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
Type Description
MagicLeapPrivileges
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

CheckPrivilege(EMagicLeapPrivilege)

Check whether the application has the specified privilege.

Declaration
public bool CheckPrivilege(EMagicLeapPrivilege Privilege)
Parameters
Type Name Description
EMagicLeapPrivilege Privilege
Returns
Type Description
System.Boolean
Remarks

This does not solicit consent from the end-user and is non-blocking. @param Privilege The privilege to check. @return True if the privilege is granted, false otherwise.

| 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
Type Name Description
UObject obj
Name name
Returns
Type Description
MagicLeapPrivileges
| Improve this Doc View Source

RequestPrivilege(EMagicLeapPrivilege)

Request the specified privilege.

Declaration
public bool RequestPrivilege(EMagicLeapPrivilege Privilege)
Parameters
Type Name Description
EMagicLeapPrivilege Privilege
Returns
Type Description
System.Boolean
Remarks

This may possibly solicit consent from the end-user; if so it will block. @param Privilege The privilege to request. @return True if the privilege is granted, false otherwise.

| Improve this Doc View Source

RequestPrivilegeAsync(EMagicLeapPrivilege, Byte)

Request the specified privilege asynchronously.

Declaration
public bool RequestPrivilegeAsync(EMagicLeapPrivilege Privilege, byte ResultDelegate)
Parameters
Type Name Description
EMagicLeapPrivilege Privilege
System.Byte ResultDelegate
Returns
Type Description
System.Boolean
Remarks

This may possibly solicit consent from the end-user. Result will be delivered to the specified delegate. @param Privilege The privilege to request. @param ResultDelegate Callback which reports the result of the request. @return True if the privilege request was successfully dispatched, false otherwise.

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
Type Description
MagicLeapPrivileges
  • Improve this Doc
  • View Source
Back to top Generated by DocFX