ElementSoundPlayer.SpatialAudioMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether spatial audio is on, off, or handled automatically.
public:
static property ElementSpatialAudioMode SpatialAudioMode { ElementSpatialAudioMode get(); void set(ElementSpatialAudioMode value); };
static ElementSpatialAudioMode SpatialAudioMode();
static void SpatialAudioMode(ElementSpatialAudioMode value);
public static ElementSpatialAudioMode SpatialAudioMode { get; set; }
var elementSpatialAudioMode = ElementSoundPlayer.spatialAudioMode;
ElementSoundPlayer.spatialAudioMode = elementSpatialAudioMode;
Public Shared Property SpatialAudioMode As ElementSpatialAudioMode
Property Value
An enumeration value that indicates whether spatial audio is on, off, or handled automatically. The default is Auto.
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|