-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Media.MediaElementState |
winrt enum |
Defines the potential states of a MediaElement object.
<object property="enumMemberName"/>
The MediaElement contains no media. The MediaElement displays a transparent frame.
The MediaElement is validating and attempting to load the specified source.
The MediaElement is loading the media for playback. Its Position does not advance during this state. If the MediaElement was already playing video, it continues to display the last displayed frame.
The MediaElement is playing the current media source.
The MediaElement does not advance its Position. If the MediaElement was playing video, it continues to display the current frame.
The MediaElement contains media but is not playing or paused. Its Position is 0 and does not advance. If the loaded media is video, the MediaElement displays the first frame.