Class Privilege
A serializable class representing Magic Leap privilege settings
Inherited Members
Namespace: UnityEditor.XR.MagicLeap
Syntax
[Serializable]
public class Privilege
Properties
ApiLevel
Getter/Setter for the API level
Declaration
public uint ApiLevel { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |
enabled
TODO: delete this
Declaration
[Obsolete("Use Privilege.Enabled instead")]
public bool enabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Enabled
Getter/Setter on if the privilege is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
name
TODO: delete this
Declaration
[Obsolete("Use Privilege.Name instead")]
public string name { get; set; }
Property Value
Type | Description |
---|---|
String |
Name
Privilege Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Equals(Object)
Equals check
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | Object to compare against |
Returns
Type | Description |
---|---|
Boolean |
Overrides
GetHashCode()
Get a Hash Code from the privilege.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A Generated Hash from the Privilege |