Installation
Requirements: iOS 14.0+, Xcode 15.0+, Swift 5.7+ The iOS SDK ships as pre-built frameworks. Add them to your Xcode target:| Framework | Action |
|---|---|
PlaudBleSDK.framework | Embed & Sign |
PlaudWiFiSDK.framework | Embed & Sign |
PlaudDeviceBasicSDK.framework | Embed & Sign |
PlaudDeviceBasicSDK.bundle | Copy Bundle Resources |
sdk/ios/ in the Plaud SDK repo.
SDK frameworks are compiled for
arm64 (physical devices only). Simulator is not supported.Methods
Initialize the Plaud Device SDK to Connect (Bind) Devices
The SDK is initialized with a User Token and your regional domain.If you haven’t onboarded to the Plaud Developer Platform, see our quickstart onboarding steps.If you’d like more details on how to retrieve your User Token and the token exchange flow, see the Authentication API reference.
| Parameter | Required | Description |
|---|---|---|
userAccessToken | Yes | User Access Token (JWT). Used for device authentication. The handshake token is automatically parsed from the JWT sub field. |
customDomain | Yes | Server domain without https:// prefix. All SDK network requests use this domain. |
Connect to a Plaud Device
Key Callbacks (PlaudDeviceAgentProtocol)
| Callback | Description |
|---|---|
bleScanResult(bleDevices:) | Scan results updated |
bleConnectState(state:) | 1 = connected, 0 = disconnected |
bleBind(sn:status:...) | Device bound successfully |
blePenState(state:...) | Handshake complete (state = 4099 means recording active) |
File Synchronization
WiFi Fast Transfer
Alternative to a BLE (Bluetooth Low Energy) transfer, the Plaud NotePin S can initialize a WiFi Fast Transfer when charging. The WiFi Fast Transfer is ~10x faster than BLE transfers.Requires the
Hotspot Configuration entitlement in your iOS app settings.Firmware Update (OTA)
The Embedded SDK handles the entire OTA flow: version query → download → MD5 verify → CRC → BLE packet push → device restart → reconnect.pushFirmwareFile() instead: