MediaPlaybackList.ItemOpened MediaPlaybackList.ItemOpened MediaPlaybackList.ItemOpened MediaPlaybackList.ItemOpened MediaPlaybackList.ItemOpened Event

Definition

Occurs when a MediaPlaybackItem in the playback list is successfully opened.

public : event TypedEventHandler<MediaPlaybackList, MediaPlaybackItemOpenedEventArgs> ItemOpened
// Register
event_token ItemOpened(TypedEventHandler<MediaPlaybackList, MediaPlaybackItemOpenedEventArgs> const& handler) const;

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

// Revoke with event_revoker
ItemOpened_revoker ItemOpened(auto_revoke_t, TypedEventHandler<MediaPlaybackList, MediaPlaybackItemOpenedEventArgs> const& handler) const;
public event TypedEventHandler<MediaPlaybackList, MediaPlaybackItemOpenedEventArgs> ItemOpened
Public Event ItemOpened As TypedEventHandler (Of MediaPlaybackList, MediaPlaybackItemOpenedEventArgs)
function onItemOpened(eventArgs){/* Your code */}


mediaPlaybackList.addEventListener("itemopened", onItemOpened);
mediaPlaybackList.removeEventListener("itemopened", onItemOpened);