Unmutes the audio.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
Unmute ( _
	
direction 
As 

MuteDirection _
)
C#
public 
void 
Unmute(
	

MuteDirection 
direction
)
Visual C++
public:
void 
Unmute(
	

MuteDirection 
direction
)
JavaScript
function 
unmute(
direction);

Parameters

direction
Type: Microsoft.Rtc.Collaboration.AudioVideo . . :: . MuteDirection
The direction to unmute.

Exceptions

Exception Condition
InvalidOperationException Thrown when the AudioVideoFlow is not in the Active state or when there is no audio channel.
ArgumentException Thrown when the direction specified is invalid.
ArgumentOutOfRangeException Thrown when the direction specified is not a value in the MuteDirection enumerated type.

See Also