BluetoothStateProvider

public protocol BluetoothStateProvider : Sendable

Protocol for providing Bluetooth state detection (allows for mocking)

  • Returns whether Bluetooth is supported on the device

    Declaration

    Swift

    func getBluetoothSupported() async throws -> Bool