SystemMediaTransportControls.AutoRepeatModeChangeRequested Event

Definition

Occurs when the user modifies the SystemMediaTransportControls auto-repeat mode.

// Register
event_token AutoRepeatModeChangeRequested(TypedEventHandler<SystemMediaTransportControls, AutoRepeatModeChangeRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void AutoRepeatModeChangeRequested(event_token const* cookie) const;

// Revoke with event_revoker
SystemMediaTransportControls::AutoRepeatModeChangeRequested_revoker AutoRepeatModeChangeRequested(auto_revoke_t, TypedEventHandler<SystemMediaTransportControls, AutoRepeatModeChangeRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<SystemMediaTransportControls,AutoRepeatModeChangeRequestedEventArgs> AutoRepeatModeChangeRequested;
function onAutoRepeatModeChangeRequested(eventArgs) { /* Your code */ }
systemMediaTransportControls.addEventListener("autorepeatmodechangerequested", onAutoRepeatModeChangeRequested);
systemMediaTransportControls.removeEventListener("autorepeatmodechangerequested", onAutoRepeatModeChangeRequested);
- or -
systemMediaTransportControls.onautorepeatmodechangerequested = onAutoRepeatModeChangeRequested;
Public Custom Event AutoRepeatModeChangeRequested As TypedEventHandler(Of SystemMediaTransportControls, AutoRepeatModeChangeRequestedEventArgs) 

Event Type

Remarks

Registering for this event causes an app to be notified when the SystemMediaTransportControls auto-repeat mode changes. An app can change its auto-repeat behavior based on the request or ignore the request and update the SystemMediaTransportControls by setting the AutoRepeatMode property to a value that reflects the app's actual auto-repeat state.

Applies to