Unity
The Aidlab Unity SDK connects Unity apps on Android, iOS, macOS and Windows to Aidlab, Aidlab 2 and Aidmed One. It requires Unity 6 and is distributed as a .unitypackage.
Installation
- Download AidlabSDK-Unity-2.8.0.unitypackage.
- Create or open a Unity 6 project.
- Select
Assets→Import Package→Custom Package.... - Choose the downloaded package and import all files.
The SDK uses only Unity's built-in runtime APIs, so no additional Unity packages are required.
Platform requirements
Android
- Set
Project Settings→Player→Android→Other Settings→Minimum API Levelto Android 12 (API 31) or newer. - Enable Bluetooth on the device.
- The SDK requests the required Bluetooth permission before scanning.
Apple platforms
- iOS 15 or macOS 12 or newer.
- Allow Bluetooth access when the operating system asks.
- The post-build step adds the Bluetooth usage description when the project has none.
Windows
- 64-bit Windows.
Continue with Establishing Connections and Data Types and Events.