SystemMediaTransportControls.ShuffleEnabledChangeRequested SystemMediaTransportControls.ShuffleEnabledChangeRequested SystemMediaTransportControls.ShuffleEnabledChangeRequested SystemMediaTransportControls.ShuffleEnabledChangeRequested SystemMediaTransportControls.ShuffleEnabledChangeRequested Event

Definition

Occurs when the user modifies the SystemMediaTransportControls shuffle state.

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

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

// Revoke with event_revoker
ShuffleEnabledChangeRequested_revoker ShuffleEnabledChangeRequested(auto_revoke_t, TypedEventHandler<SystemMediaTransportControls, ShuffleEnabledChangeRequestedEventArgs> const& handler) const;
public event TypedEventHandler<SystemMediaTransportControls, ShuffleEnabledChangeRequestedEventArgs> ShuffleEnabledChangeRequested
Public Event ShuffleEnabledChangeRequested As TypedEventHandler (Of SystemMediaTransportControls, ShuffleEnabledChangeRequestedEventArgs)
function onShuffleEnabledChangeRequested(eventArgs){/* Your code */}


systemMediaTransportControls.addEventListener("shuffleenabledchangerequested", onShuffleEnabledChangeRequested);
systemMediaTransportControls.removeEventListener("shuffleenabledchangerequested", onShuffleEnabledChangeRequested);

Remarks

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