Skip to main content
Version: 20 Mar 2024

MagicLeapSDKUtil

NameSpace: MagicLeap

Public Fields

MinimumApiLevel


public static uint MinimumApiLevel { get; set; }


SdkAvailable

If the MLSDK path is set in the editor preferences and points to a valid sdk.


public static bool SdkAvailable { get; set; }


SdkPath

MLSDK path for the android target.


public static string SdkPath { get; set; }


Public Methods

void DeleteSDKPathFromEditorPrefs

public static void DeleteSDKPathFromEditorPrefs(
BuildTarget target
)

Parameters

TypeNameDescription
BuildTargettarget

Public Attributes

SdkVersion

MLSDK version


public static Version SdkVersion => new Version(JsonUtility.FromJson<SDKManifest>(File.ReadAllText(Path.Combine(SdkPath, kManifestPath))).version);