> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# VIAudioDevice

Class that represents an audio device.

@objc final class VIAudioDevice

## Properties

### description

override var description: String \{ get }

Audio device description.

### id

@objc let id: String

Audio device id.

### isActive

@objc var isActive: Bool

Whether the audio device is active.

### name

@objc let name: String

Audio device name.

### type

@objc var type: [VIDeviceType](/api-reference/iossdk/core/viaudiodevice#symbol-9a22bfa9f40c430d) \{ get }

Audio device type.

## Methods

### isEqual(\_:)

override func isEqual(\_ object: Any?) -> Bool

## Types

### VIAudioDevice.VIDeviceType

@objc enum VIDeviceType

Enum that contains audio device types.

#### Values

##### case bluetooth

Bluetooth audio device.

##### case receiver

Output to the speaker you hold to your ear when you are on a call.

##### case speaker

Output to the device’s built-in speaker and input from a device’s built-in microphone.

##### case unsupported

Any audio devices that the SDK cannot manage.

##### case wired

Wired headset or headphones.

#### Initializers

##### init(rawValue:)

init?(rawValue: Int)

Inherited from `RawRepresentable.init(rawValue:)`.

#### Properties

##### description

var description: String \{ get }

Device type description

#### Default Implementations

##### Equatable Implementations

Equatable.!=(*:*:)

##### RawRepresentable Implementations

RawRepresentable.hash(into:) RawRepresentable.hashValue

#### Relationships

**Conforms To:** Swift.Equatable, Swift.Hashable, Swift.RawRepresentable

## Relationships

**Inherits From:** NSObject

**Conforms To:** ObjectiveC.NSObjectProtocol, Swift.CVarArg, Swift.CustomDebugStringConvertible, Swift.CustomStringConvertible, Swift.Equatable, Swift.Hashable, Swift.Identifiable