initial commit: Proximity iOS app proposal, full Swift code scaffold, reference backend, testing docs, generated Xcode project
This commit is contained in:
18
Proximity/Models/ProximityEngine.swift
Normal file
18
Proximity/Models/ProximityEngine.swift
Normal file
@@ -0,0 +1,18 @@
|
||||
import Foundation
|
||||
|
||||
/// The underlying sensing technology powering a connection tier.
|
||||
enum ProximityEngine: String, CaseIterable, Codable {
|
||||
case uwb // Nearby Interaction (U1/U2 chip)
|
||||
case ble // Core Bluetooth
|
||||
case beacon // Core Location (iBeacon region monitoring)
|
||||
case nfc // Core NFC (tap-to-connect)
|
||||
|
||||
var displayName: String {
|
||||
switch self {
|
||||
case .uwb: return "Ultra-Wideband"
|
||||
case .ble: return "Bluetooth"
|
||||
case .beacon: return "Beacon"
|
||||
case .nfc: return "NFC"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user