SystemMediaTransportControls.PlaybackRateChangeRequested SystemMediaTransportControls.PlaybackRateChangeRequested SystemMediaTransportControls.PlaybackRateChangeRequested SystemMediaTransportControls.PlaybackRateChangeRequested SystemMediaTransportControls.PlaybackRateChangeRequested Event

Definition

Occurs when the user modifies the SystemMediaTransportControls playback rate.

public : event TypedEventHandler<SystemMediaTransportControls, PlaybackRateChangeRequestedEventArgs> PlaybackRateChangeRequested
// Register
event_token PlaybackRateChangeRequested(TypedEventHandler<SystemMediaTransportControls, PlaybackRateChangeRequestedEventArgs> const& handler) const;

// Revoke with event_token
void PlaybackRateChangeRequested(event_token const& cookie) const;

// Revoke with event_revoker
PlaybackRateChangeRequested_revoker PlaybackRateChangeRequested(auto_revoke_t, TypedEventHandler<SystemMediaTransportControls, PlaybackRateChangeRequestedEventArgs> const& handler) const;
public event TypedEventHandler<SystemMediaTransportControls, PlaybackRateChangeRequestedEventArgs> PlaybackRateChangeRequested
Public Event PlaybackRateChangeRequested As TypedEventHandler (Of SystemMediaTransportControls, PlaybackRateChangeRequestedEventArgs)
function onPlaybackRateChangeRequested(eventArgs){/* Your code */}


systemMediaTransportControls.addEventListener("playbackratechangerequested", onPlaybackRateChangeRequested);
systemMediaTransportControls.removeEventListener("playbackratechangerequested", onPlaybackRateChangeRequested);

Remarks

Registering for this event causes an app to be notified when the SystemMediaTransportControls playback rate changes. An app can change its playback rate based on the request or ignore the request and update the SystemMediaTransportControls by setting the PlaybackRate property to a value that reflects the app's actual playback rate.