xtd 0.2.0
Loading...
Searching...
No Matches
xtd::media::system_sounds Class Reference
Inheritance diagram for xtd::media::system_sounds:
xtd::static_object

Definition

Retrieves sounds associated with a set of Windows operating system sound-event types. This class cannot be inherited.

Retrieves sounds associated with a set of Windows operating system sound-event types....
Definition system_sounds.hpp:28
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
#define core_export_
Define shared library export.
Definition core_export.hpp:13
Inheritance
xtd::static_objectxtd::media::system_sounds
Header
#include <xtd/media/system_sounds>
Namespace
xtd::media
Library
xtd.core

Public Static Properties

static auto asterisk () -> xtd::media::system_sound
 Gets the sound associated with the Asterisk program event in the current Windows sound scheme.
 
static auto beep () -> xtd::media::system_sound
 Gets the sound associated with the Beep program event in the current Windows sound scheme.
 
static auto exclamation () -> xtd::media::system_sound
 Gets the sound associated with the Exclamation program event in the current Windows sound scheme.
 
static auto hand () -> xtd::media::system_sound
 Gets the sound associated with the Hand program event in the current Windows sound scheme.
 
static auto question () -> xtd::media::system_sound
 Gets the sound associated with the Question program event in the current Windows sound scheme.
 

Member Function Documentation

◆ asterisk()

static auto xtd::media::system_sounds::asterisk ( ) -> xtd::media::system_sound
staticnodiscard

Gets the sound associated with the Asterisk program event in the current Windows sound scheme.

Returns
A xtd::media::system_sound associated with the Asterisk program event in the current Windows sound scheme.A SystemSound associated with the Asterisk program event in the current Windows sound scheme.
Examples
The following code example demonstrates the use of the xtd::media::system_sounds::asterisk property.
// Plays the sound associated with the Asterisk system event.
static auto asterisk() -> xtd::media::system_sound
Gets the sound associated with the Asterisk program event in the current Windows sound scheme.

◆ beep()

static auto xtd::media::system_sounds::beep ( ) -> xtd::media::system_sound
staticnodiscard

Gets the sound associated with the Beep program event in the current Windows sound scheme.

Returns
A xtd::media::system_sound associated with the Beep program event in the current Windows sound scheme.
Examples
The following code example demonstrates the use of the xtd::media::system_sounds::beep property.
// Plays the sound associated with the Beep system event.

◆ exclamation()

static auto xtd::media::system_sounds::exclamation ( ) -> xtd::media::system_sound
staticnodiscard

Gets the sound associated with the Exclamation program event in the current Windows sound scheme.

Returns
A xtd::media::system_sound associated with the Exclamation program event in the current Windows sound scheme.
Examples
The following code example demonstrates the use of the xtd::media::system_sounds::exclamation property.
// Plays the sound associated with the Exclamation system event.
static auto exclamation() -> xtd::media::system_sound
Gets the sound associated with the Exclamation program event in the current Windows sound scheme.

◆ hand()

static auto xtd::media::system_sounds::hand ( ) -> xtd::media::system_sound
staticnodiscard

Gets the sound associated with the Hand program event in the current Windows sound scheme.

Returns
A xtd::media::system_sound associated with the Hand program event in the current Windows sound scheme.
Examples
The following code example demonstrates the use of the xtd::media::system_sounds::hand property.
// Plays the sound associated with the Hand system event.
static auto hand() -> xtd::media::system_sound
Gets the sound associated with the Hand program event in the current Windows sound scheme.

◆ question()

static auto xtd::media::system_sounds::question ( ) -> xtd::media::system_sound
staticnodiscard

Gets the sound associated with the Question program event in the current Windows sound scheme.

Returns
A xtd::media::system_sound associated with the Question program event in the current Windows sound scheme.
Examples
The following code example demonstrates the use of the xtd::media::system_sounds::question property.
// Plays the sound associated with the Question system event.
static auto question() -> xtd::media::system_sound
Gets the sound associated with the Question program event in the current Windows sound scheme.

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