mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
feat: enhance documentation for IDtmfDecode interface and DtmfReceivedEventArgs class
This commit is contained in:
parent
dac5325ecf
commit
a782651e4d
1 changed files with 13 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
namespace PepperDash.Essentials.Devices.Common.AudioCodec;
|
||||
|
||||
/// <summary>
|
||||
/// Interface for devices that can decode DTMF digits
|
||||
/// </summary>
|
||||
public interface IDtmfDecode
|
||||
{
|
||||
/// <summary>
|
||||
|
|
@ -8,10 +11,20 @@ public interface IDtmfDecode
|
|||
event EventHandler<DtmfReceivedEventArgs> DtmfReceived;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event args for DTMF received event
|
||||
/// </summary>
|
||||
public class DtmfReceivedEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// The DTMF digit that was received
|
||||
/// </summary>
|
||||
public string Digit { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Event args for DTMF received event
|
||||
/// </summary>
|
||||
/// <param name="digit">The DTMF digit that was received</param>
|
||||
public DtmfReceivedEventArgs(string digit)
|
||||
{
|
||||
Digit = digit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue