Skip to main content

Connectivity & Hardware

PrismCapabilities wraps Apple’s hardware and connectivity frameworks into Sendable, actor-based APIs. Scan for Bluetooth peripherals, read NFC tags, connect peer-to-peer, and access motion sensors.

Bluetooth

PrismBluetoothClient wraps CoreBluetooth for BLE device scanning and communication:
Scan for Devices

Discover Services & Characteristics

Read Characteristic

NFC

PrismNFCClient reads NFC tags on supported devices:
Read NFC Tag
NFC is only available on iPhone 7 and later. Add the NFCReaderUsageDescription key to your Info.plist.

Multipeer Connectivity

PrismMultipeerClient enables peer-to-peer communication over Wi-Fi and Bluetooth:
Multipeer Session

Nearby Interaction

PrismNearbyClient uses the U1 chip for precise spatial awareness:
Nearby Interaction

CallKit

PrismCallClient integrates with the system call UI for VoIP apps:
Report Incoming Call

CoreMotion

PrismMotionClient provides access to accelerometer, gyroscope, and pedometer data:
Motion Data
Pedometer

GameKit

PrismGameCenterClient wraps GameKit for leaderboards and achievements:
Game Center
Game Center authentication presents a system UI on first launch. Call authenticate() early in your app lifecycle — ideally during onboarding.