Compartir a través de


DtmfKey Enumeration

  Microsoft Speech Technologies Homepage

Enumerates the values of the StopOnDtmf property of the RecordSound control.

public enum DtmfKey {
    Dtmf0 = 0x1,
    Dtmf1 = 0x2,
    Dtmf2 = 0x4,
    Dtmf3 = 0x8,
    Dtmf4 = 0x10,
    Dtmf5 = 0x20,
    Dtmf6 = 0x40,
    Dtmf7 = 0x80,
    Dtmf8 = 0x100,
    Dtmf9 = 0x200,
    DtmfA = 0x400,
    DtmfB = 0x800,
    DtmfC = 0x1000,
    DtmfD = 0x2000,
    DtmfStar = 0x4000, 
    DtmfSquare = 0x8000,
    DtmfAll = 0xffff,
    DtmfNone = 0
};

Remarks

The StopOnDtmf property specifies the DTMF key or keys that can be used to stop sound recording with the RecordSound control. Values of DtmfKey can specify any single key, or all keys, or no keys.