Discord Social SDK
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
discordpp::VADThresholdSettings Class Reference

Detailed Description

Settings for the void auto detection threshold for picking up activity from a user's mic.

Public Member Functions

 VADThresholdSettings (VADThresholdSettings &&other) noexcept
 Move constructor for VADThresholdSettings.
 
VADThresholdSettingsoperator= (VADThresholdSettings &&other) noexcept
 Move assignment operator for VADThresholdSettings.
 
 operator bool () const
 Returns true if the instance contains a valid object.
 
 VADThresholdSettings (const VADThresholdSettings &)=delete
 
VADThresholdSettingsoperator= (const VADThresholdSettings &)=delete
 
float VadThreshold () const
 The current void auto detection threshold value, has a range of -100, 0 and defaults to -60.
 
void SetVadThreshold (float VadThreshold)
 Setter for VADThresholdSettings::VadThreshold.
 
bool Automatic () const
 Whether or not Discord is currently automatically setting and detecting the appropriate threshold to use.
 
void SetAutomatic (bool Automatic)
 Setter for VADThresholdSettings::Automatic.
 

Static Public Attributes

static const VADThresholdSettings nullobj
 Uninitialized instance of VADThresholdSettings.
 

Constructor & Destructor Documentation

◆ VADThresholdSettings()

discordpp::VADThresholdSettings::VADThresholdSettings ( VADThresholdSettings && other)
noexcept

Move constructor for VADThresholdSettings.

Member Function Documentation

◆ Automatic()

bool discordpp::VADThresholdSettings::Automatic ( ) const

Whether or not Discord is currently automatically setting and detecting the appropriate threshold to use.

◆ operator bool()

discordpp::VADThresholdSettings::operator bool ( ) const
inline

Returns true if the instance contains a valid object.

◆ operator=()

VADThresholdSettings & discordpp::VADThresholdSettings::operator= ( VADThresholdSettings && other)
noexcept

Move assignment operator for VADThresholdSettings.

◆ SetAutomatic()

void discordpp::VADThresholdSettings::SetAutomatic ( bool Automatic)

◆ SetVadThreshold()

void discordpp::VADThresholdSettings::SetVadThreshold ( float VadThreshold)

◆ VadThreshold()

float discordpp::VADThresholdSettings::VadThreshold ( ) const

The current void auto detection threshold value, has a range of -100, 0 and defaults to -60.

Member Data Documentation

◆ nullobj

const VADThresholdSettings discordpp::VADThresholdSettings::nullobj
static

Uninitialized instance of VADThresholdSettings.