Table of Contents

Class DeviceStateChangedEventArgs

Namespace
NAudio.CoreAudioApi
Assembly
NAudio.Wasapi.dll

Event data for DeviceStateChanged.

public sealed class DeviceStateChangedEventArgs : DeviceNotificationEventArgs
Inheritance
DeviceStateChangedEventArgs
Inherited Members

Constructors

DeviceStateChangedEventArgs(string, DeviceState)

Initializes a new instance of the DeviceStateChangedEventArgs class.

public DeviceStateChangedEventArgs(string deviceId, DeviceState newState)

Parameters

deviceId string

The endpoint ID string of the affected device.

newState DeviceState

The device's new state.

Properties

NewState

The new DeviceState of the device.

public DeviceState NewState { get; }

Property Value

DeviceState