Raised when a ToneController receives a
tone.
Namespace:
Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Event ToneReceived As EventHandler( Of ToneControllerEventArgs) |
C# |
---|
public event EventHandler< ToneControllerEventArgs> ToneReceived |
Visual C++ |
---|
public: event EventHandler< ToneControllerEventArgs^>^ ToneReceived { void add ( EventHandler< ToneControllerEventArgs^>^ value); void remove ( EventHandler< ToneControllerEventArgs^>^ value); } |
JavaScript |
---|
function add_ toneReceived( value); function remove_ toneReceived( value); |
Remarks
Tones will be received only when all four affirmatives
below apply: - An active AudioVideoFlow is attached -
AudioVideoFlow.ToneEnabled is equal to true - AudioVideoFlow is not
on hold - AudioVideoFlow's AudioChannel.Direction is SendReceive or
ReceiveOnly