Class Privilege
A serializable class representing Magic Leap privilege settings
Inherited Members
Namespace: UnityEditor .XR.MagicLeap
Assembly: UnityEditor.XR.MagicLeap.dll
Syntax
[Serializable]
public class Privilege
Properties
ApiLevel
Getter/Setter for the API level
Declaration
public uint ApiLevel { get; set; }
Property Value
Type | Description |
---|---|
uint |
Enabled
Getter/Setter on if the privilege is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
Privilege Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
enabled
TODO: delete this
Declaration
[Obsolete("Use Privilege.Enabled instead")]
public bool enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
name
TODO: delete this
Declaration
[Obsolete("Use Privilege.Name instead")]
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 |
---|---|
bool |
Overrides
GetHashCode()
Get a Hash Code from the privilege.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A Generated Hash from the Privilege |