MediaSourceState 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 state of a MediaSource.
public enum class MediaSourceState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class MediaSourceState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum MediaSourceState
var value = Windows.Media.Core.MediaSourceState.initial
Public Enum MediaSourceState
- Inheritance
-
MediaSourceState
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
Fields
Closed | 4 | The MediaSource has been closed. |
Failed | 3 | The MediaSource failed to open the associated media content. |
Initial | 0 | The MediaSource has been initialized. |
Opened | 2 | The MediaSource has successfully opened the associated media content. |
Opening | 1 | The MediaSource is in the process of opening the associated media content. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for