SystemMediaTransportControls.AutoRepeatModeChangeRequested SystemMediaTransportControls.AutoRepeatModeChangeRequested SystemMediaTransportControls.AutoRepeatModeChangeRequested SystemMediaTransportControls.AutoRepeatModeChangeRequested SystemMediaTransportControls.AutoRepeatModeChangeRequested Event

Definition

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

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

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

// Revoke with event_revoker
AutoRepeatModeChangeRequested_revoker AutoRepeatModeChangeRequested(auto_revoke_t, TypedEventHandler<SystemMediaTransportControls, AutoRepeatModeChangeRequestedEventArgs> const& handler) const;
public event TypedEventHandler<SystemMediaTransportControls, AutoRepeatModeChangeRequestedEventArgs> AutoRepeatModeChangeRequested
Public Event AutoRepeatModeChangeRequested As TypedEventHandler (Of SystemMediaTransportControls, AutoRepeatModeChangeRequestedEventArgs)
function onAutoRepeatModeChangeRequested(eventArgs){/* Your code */}


systemMediaTransportControls.addEventListener("autorepeatmodechangerequested", onAutoRepeatModeChangeRequested);
systemMediaTransportControls.removeEventListener("autorepeatmodechangerequested", onAutoRepeatModeChangeRequested);

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.