Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::VoipPreference Class Reference

#include <preferences.h>

Inheritance diagram for jami::VoipPreference:
Inheritance graph
Collaboration diagram for jami::VoipPreference:
Collaboration graph

Public Member Functions

bool getPlayDtmf () const
 
bool getPlayTones () const
 
int getPulseLength () const
 
void serialize (YAML::Emitter &out) const override
 
void setPlayDtmf (bool dtmf)
 
void setPlayTones (bool tone)
 
void setPulseLength (int length)
 
void unserialize (const YAML::Node &in) override
 
 VoipPreference ()
 
- Public Member Functions inherited from jami::Serializable
virtual ~Serializable ()
 

Detailed Description

Definition at line 101 of file preferences.h.

Constructor & Destructor Documentation

◆ VoipPreference()

jami::VoipPreference::VoipPreference ( )

Definition at line 234 of file preferences.cpp.

Member Function Documentation

◆ getPlayDtmf()

bool jami::VoipPreference::getPlayDtmf ( ) const
inline

Definition at line 109 of file preferences.h.

Referenced by libjami::isDtmfMuted().

◆ getPlayTones()

bool jami::VoipPreference::getPlayTones ( ) const
inline

Definition at line 113 of file preferences.h.

◆ getPulseLength()

int jami::VoipPreference::getPulseLength ( ) const
inline

Definition at line 117 of file preferences.h.

◆ serialize()

void jami::VoipPreference::serialize ( YAML::Emitter &  out) const
overridevirtual

Implements jami::Serializable.

Definition at line 241 of file preferences.cpp.

References jami::emitSignal(), jami::PLAY_DTMF_KEY, jami::PLAY_TONES_KEY, and jami::PULSE_LENGTH_KEY.

Here is the call graph for this function:

◆ setPlayDtmf()

void jami::VoipPreference::setPlayDtmf ( bool  dtmf)
inline

Definition at line 111 of file preferences.h.

References jami::emitSignal().

Referenced by libjami::muteDtmf().

Here is the call graph for this function:

◆ setPlayTones()

void jami::VoipPreference::setPlayTones ( bool  tone)
inline

Definition at line 115 of file preferences.h.

References jami::emitSignal().

Here is the call graph for this function:

◆ setPulseLength()

void jami::VoipPreference::setPulseLength ( int  length)
inline

Definition at line 119 of file preferences.h.

References jami::emitSignal().

Here is the call graph for this function:

◆ unserialize()

void jami::VoipPreference::unserialize ( const YAML::Node &  in)
overridevirtual

Implements jami::Serializable.

Definition at line 251 of file preferences.cpp.

References jami::emitSignal(), jami::PLAY_DTMF_KEY, jami::PLAY_TONES_KEY, and jami::PULSE_LENGTH_KEY.

Referenced by jami::Manager::loadAccountMap().

Here is the call graph for this function:

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