Retrieves sounds associated with a set of Windows operating system sound-event types. This class cannot be inherited.
#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_object → xtd::media::system_sounds
- Header
#include <xtd/media/system_sounds>
- Namespace
- xtd::media
- Library
- xtd.core
|
static system_sound | asterisk () |
| Gets the sound associated with the Asterisk program event in the current Windows sound scheme.
|
|
static system_sound | beep () |
| Gets the sound associated with the Beep program event in the current Windows sound scheme.
|
|
static system_sound | exclamation () |
| Gets the sound associated with the Exclamation program event in the current Windows sound scheme.
|
|
static system_sound | hand () |
| Gets the sound associated with the Hand program event in the current Windows sound scheme.
|
|
static system_sound | question () |
| Gets the sound associated with the Question program event in the current Windows sound scheme.
|
|
◆ asterisk()
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.
◆ beep()
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.
◆ exclamation()
static system_sound xtd::media::system_sounds::exclamation |
( |
| ) |
|
|
static |
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.
◆ hand()
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.
◆ question()
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.
The documentation for this class was generated from the following file: