ElementSoundPlayer.SpatialAudioMode Property

Definition

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)

Applies to