BluetoothStateProvider
public protocol BluetoothStateProvider : Sendable
Protocol for providing Bluetooth state detection (allows for mocking)
-
getBluetoothSupported()AsynchronousReturns whether Bluetooth is supported on the device
Declaration
Swift
func getBluetoothSupported() async throws -> Bool
View on GitHub