AKDevice

@objc open class AKDevice: NSObject

Wrapper for audio device selection

  • The human-readable name for the device.

    Declaration

    Swift

    open var name: String
  • The device identifier.

    Declaration

    Swift

    open fileprivate(set) var deviceID: DeviceID
  • Initialize the device

    • Parameters:
      • name: The human-readable name for the device.
      • deviceID: The device identifier.

    Declaration

    Swift

    public init(name: String, deviceID: DeviceID)

    Parameters

    name

    The human-readable name for the device.

    deviceID

    The device identifier.

  • Printable device description

    Declaration

    Swift

    override open var description: String