Android Permissions
Learn how to manage Android based Permissions inside your Magic Leap application.
Learn how to manage Android based Permissions inside your Magic Leap application.
Developers can access a variety of Magic Leap 2’s sensors to obtain information about the environment and the device’s orientation, motion, and position. These sensors can be accessed via the standard Android Sensor API, which allows you to register listeners for sensor events, get sensor data, and manage sensor resources.
Overview
Learn how to declare the minimum API level so that your application can indicate which APIs are expected to be implemented.
Overview
Learn how to declare permissions to access normal features or request access to dangerous ones.
This section includes information on how to detect if an application is running on a Magic Leap 2 in addition to checking if a developer is most likely building for Magic Leap 2.
These guides serve as a starting point for Magic Leap app development in Unity. If this is your first time developing for Magic Leap, we recommend that you follow the guides sequentially. If you are an experienced Magic Leap developer, these guides can be used as standalone references.
This preview version of the Magic Leap 2 SDK for Unreal Engine 5 (Magic Leap 2 Unreal SDK) lets you create apps for Magic Leap 2 devices using Unreal Engine, the game engine created by Epic Games.
This section provides information on how to install and configure the Unity Editor required to develop for Magic Leap 2.
The Magic Leap 2 uses an Android based operating system which provides access to core Android-based features. This section will provide an overview on how developers can use intents to open external activities on the Magic Leap 2.
These guides serve as a starting point for Native Magic Leap app development. If this is your first time developing for the Magic Leap, you must first choose if you want to set up your environment over command line or using Android Studio, and follow the relevant guide in this section. If you are an experienced Magic Leap developer, these guides can be used as standalone references.
Overview
Learn how to request or check Magic Leap permissions at runtime.
This section includes information about developing Unity applications for Magic Leap 2.
Sensors are devices that measure environmental characteristics of the device that the content is running on, such as light, pressure, temperature, orientation, and motion. Unity’s Input System allows you to access sensors on Android devices using the standard Android Sensor API. In this guide, we will show you how to enable, disable, and read data from sensors on Android using the Input System.
The Magic Leap 2 offers Speech Commands, which allow applications to perform custom and system actions. When enabled, users can use their voice to interact with applications on the device. The can also be used to perform system tasks, such as changing the volume of audio, exiting an application or taking a camera capture, in place of using other input methods. Notably, these speech commands work offline which means they can be used even when there is no network connection.
Overview