MediaStreamSource.Paused | paused event

Applies to Windows and Windows Phone

Occurs when the MediaStreamSource is paused and stops requesting MediaStreamSample objects for an unspecified period of time, but is expected to resume requesting MediaStreamSample objects from the current position.

Syntax


function onPaused(eventArgs) { /* Your code */ }
 
// addEventListener syntax
mediaStreamSource.addEventListener("paused", onPaused);
mediaStreamSource.removeEventListener("paused", onPaused);
 
- or -

mediaStreamSource.onpaused = onPaused;


Event information

Delegate TypedEventHandler<MediaStreamSource, Object>

Remarks

This event might be raised by the user pressing a “Pause” button in the UI. When the user decides to resume playback, it is likely that the Starting event will indicate that the MediaStreamSample objects should continue to be delivered from the current position. The Paused event serves as a hint to the application that the next Starting event will specify the current position.

The event is informational. Applications are not required to have a handler for this event.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.winmd

See also

MediaStreamSource

 

 

Show:
© 2014 Microsoft