MBDevice

@objc
public class MBDevice : NSObject, Codable

Detected connected device (CarPlay or Bluetooth using Handsfree Profile (HFP))

  • Name of the device

    Declaration

    Swift

    public var name: String
  • uid

    Unique ID of the device

    Declaration

    Swift

    public var uid: String
  • If true, this device was connected using HFP

    Declaration

    Swift

    public var bluetoothHFP: Bool
  • If true, this device is a CarPlay device

    Declaration

    Swift

    public var carAudio: Bool
  • If true, the device was registered as a car

    Declaration

    Swift

    public var registeredAsCar: Bool
  • Indicating the probability that this device is a car (value between 0 and 1.0)

    Declaration

    Swift

    public var carProbability: Double { get }
  • If true, the device was identified as a car

    Declaration

    Swift

    public var inCarDevice: Bool { get }