MediaControl.StopPressed | stoppressed event

Applies to Windows only

[MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.]

Event raised when a Stop command is issued to the application.

Syntax


function onStopPressed(eventArgs) { /* Your code */ }
 
// addEventListener syntax
mediaControl.addEventListener("stoppressed", onStopPressed);
mediaControl.removeEventListener("stoppressed", onStopPressed);
 
- or -

mediaControl.onstoppressed = onStopPressed;


Event information

DelegateEventHandler [JavaScript] | System.EventHandler<Object> [.NET] | Windows.Foundation.EventHandler<Object> [C++]

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

End of client support

Windows 8.1

End of server support

Windows Server 2012 R2

Namespace

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

Metadata

Windows.winmd

See also

MediaControl

 

 

Show:
© 2014 Microsoft