Method | Description | |
---|---|---|
PlayToEndAsync ( this mediaElement, |
Plays to end and waits asynchronously.
|
|
WaitForStateAsync ( this mediaElement, MediaElementState newState = null ) : Task |
Waits for the MediaElement.CurrentState to change to any (default) or specific MediaElementState value.
|
|
WaitToCompleteAsync ( this mediaElement ) : Task |
Waits for the MediaElement to complete playback.
|
public static PlayToEndAsync ( this mediaElement, |
||
mediaElement | this | The media element. |
source | The source to play. | |
return | Task |
public static WaitForStateAsync ( this mediaElement, MediaElementState newState = null ) : Task |
||
mediaElement | this | |
newState | MediaElementState | The MediaElementState value to wait for. Null by default causes the metod to wait for a change to any other state. |
return | Task |
public static WaitToCompleteAsync ( this mediaElement ) : Task |
||
mediaElement | this | The media element. |
return | Task |