AudioPlaybackConnectionState Enum
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.
Specifies the connection state of an AudioPlaybackConnection.
public enum class AudioPlaybackConnectionState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
enum class AudioPlaybackConnectionState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
public enum AudioPlaybackConnectionState
var value = Windows.Media.Audio.AudioPlaybackConnectionState.closed
Public Enum AudioPlaybackConnectionState
- Inheritance
-
AudioPlaybackConnectionState
- Attributes
Windows requirements
Device family |
Windows 10, version 2004 (introduced in 10.0.19041.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v10.0)
|
Fields
Name | Value | Description |
---|---|---|
Closed | 0 | The connection is closed. |
Opened | 1 | The connection is open. |
Remarks
Open a connection by calling Open or OpenAsync.
Get the current state of a connection by checking the State property. Receive notifiations when the connection state changes by implementing a handler for the StateChanged event.