Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaControl.RecordPressed | recordpressed event

Applies to Windows only

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

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

Syntax


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

mediaControl.onrecordpressed = onRecordPressed;


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