API Reference
Class
WindowsAudioStatus
Snapshot of the default Windows audio render endpoint state.
Inheritance
- Object
- WindowsAudioStatus
Constructors
public WindowsAudioStatus(Boolean IsAvailable, Nullable<Int32> OutputVolume, Nullable<Boolean> IsMuted, String Message) #Snapshot of the default Windows audio render endpoint state.
Parameters
- IsAvailable System.Boolean
- True when the default audio endpoint could be queried.
- OutputVolume System.Nullable{System.Int32}
- Current output volume percentage when available.
- IsMuted System.Nullable{System.Boolean}
- Current mute state when available.
- Message System.String
- Optional status detail or failure message.
Methods
public WindowsAudioStatus <Clone>$() #Returns:
WindowsAudioStatuspublic Void Deconstruct(out Boolean IsAvailable, out Nullable<Int32> OutputVolume, out Nullable<Boolean> IsMuted, out String Message) #Returns:
VoidParameters
- IsAvailable Boolean
- OutputVolume Nullable<Int32>
- IsMuted Nullable<Boolean>
- Message String
public override Int32 GetHashCode() #Returns:
Int32public override String ToString() #Returns:
StringInherited Methods
Properties
public virtual Boolean IsAvailable { get; set; } #True when the default audio endpoint could be queried.
public Nullable<Int32> OutputVolume { get; set; } #Current output volume percentage when available.
public Nullable<Boolean> IsMuted { get; set; } #Current mute state when available.
public virtual String Message { get; set; } #Optional status detail or failure message.