ElementSoundPlayer.State 속성

정의

시스템에서 컨트롤 소리를 재생하는지 여부를 지정하는 값을 가져오거나 설정합니다.

public:
 static property ElementSoundPlayerState State { ElementSoundPlayerState get(); void set(ElementSoundPlayerState value); };
static ElementSoundPlayerState State();

static void State(ElementSoundPlayerState value);
public static ElementSoundPlayerState State { get; set; }
var elementSoundPlayerState = ElementSoundPlayer.state;
ElementSoundPlayer.state = elementSoundPlayerState;
Public Shared Property State As ElementSoundPlayerState

속성 값

시스템에서 컨트롤 소리를 재생하는지 여부를 지정하는 열거형의 값입니다. 기본값은 Auto입니다.

설명

기본적으로 컨트롤 사운드는 Xbox에서 재생되며 다른 장치 패밀리에서 재생되지 않습니다. ElementSoundPlayerState기로 설정하여 앱이 모든 디바이스 패밀리에서 소리를 재생하도록 하거나 기로 설정하여 모든 디바이스 패밀리에서 소리를 사용하지 않도록 설정할 수 있습니다.

자세한 내용은 UWP 앱의 소리를 참조하세요.

적용 대상