MediaState 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 states that can be applied to a MediaElement for the LoadedBehavior and UnloadedBehavior properties.
public enum class MediaState
public enum MediaState
type MediaState =
Public Enum MediaState
- Inheritance
Fields
Close | 2 | The state used to close the media. All media resources are released (including video memory). |
Manual | 0 | The state used to control a MediaElement manually. Interactive methods like Play() and Pause() can be used. Media will preroll but not play when the MediaElement is assigned valid media source. |
Pause | 3 | The state used to pause the media. Media will preroll but remains paused when the MediaElement is assigned valid media source. |
Play | 1 | The state used to play the media. . Media will preroll automatically being playback when the MediaElement is assigned valid media source. |
Stop | 4 | The state used to stop the media. Media will preroll but not play when the MediaElement is assigned valid media source. Media resources are not released. |
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre