RTS API Documentation  1.10.11
Public Member Functions | Data Fields
DTMF Class Reference

#include <switch_cpp.h>

+ Collaboration diagram for DTMF:

Public Member Functions

 DTMF (char idigit, uint32_t iduration=SWITCH_DEFAULT_DTMF_DURATION)
 
virtual ~DTMF ()
 

Data Fields

char digit
 
uint32_t duration
 

Detailed Description

Definition at line 135 of file switch_cpp.h.

Constructor & Destructor Documentation

◆ DTMF()

DTMF::DTMF ( char  idigit,
uint32_t  iduration = SWITCH_DEFAULT_DTMF_DURATION 
)

Definition at line 543 of file switch_cpp.cpp.

References SWITCH_DEFAULT_DTMF_DURATION.

544 {
545  digit = idigit;
546 
547  if (iduration == 0) {
548  iduration = SWITCH_DEFAULT_DTMF_DURATION;
549  }
550 
551  duration = iduration;
552 }
#define SWITCH_DEFAULT_DTMF_DURATION
Definition: switch_types.h:116
char digit
Definition: switch_cpp.h:137
uint32_t duration
Definition: switch_cpp.h:138

◆ ~DTMF()

DTMF::~DTMF ( )
virtual

Definition at line 554 of file switch_cpp.cpp.

555 {
556 
557 }

Field Documentation

◆ digit

char DTMF::digit

Definition at line 137 of file switch_cpp.h.

◆ duration

uint32_t DTMF::duration

Definition at line 138 of file switch_cpp.h.


The documentation for this class was generated from the following files: