Compartilhar via


MediaControl.FastForwardPressed Evento

Definição

Observação

MediaControl pode ser alterado ou indisponível para versões após Windows 8.1. Em vez disso, use SystemMediaTransportControls.

Evento gerado quando um comando FastForward é emitido para o aplicativo.

/// [add: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Media.MediaControlContract)]
/// [remove: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Media.MediaControlContract)]
// Register
static event_token FastForwardPressed(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void FastForwardPressed(event_token const* cookie) const;

// Revoke with event_revoker
static MediaControl::FastForwardPressed_revoker FastForwardPressed(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")]
// Register
static event_token FastForwardPressed(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void FastForwardPressed(event_token const* cookie) const;

// Revoke with event_revoker
static MediaControl::FastForwardPressed_revoker FastForwardPressed(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
[add: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Media.MediaControlContract))]
[remove: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Media.MediaControlContract))]
public static event System.EventHandler<object> FastForwardPressed;
[add: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")]
[remove: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")]
public static event System.EventHandler<object> FastForwardPressed;
function onFastForwardPressed(eventArgs) { /* Your code */ }
Windows.Media.MediaControl.addEventListener("fastforwardpressed", onFastForwardPressed);
Windows.Media.MediaControl.removeEventListener("fastforwardpressed", onFastForwardPressed);
- or -
Windows.Media.MediaControl.onfastforwardpressed = onFastForwardPressed;
Public Shared Custom Event FastForwardPressed As EventHandler(Of Object) 

Tipo de evento

Atributos

Aplica-se a