MediaBinder.Binding MediaBinder.Binding MediaBinder.Binding MediaBinder.Binding MediaBinder.Binding Event

Definition

Occurs when a media player is ready for the media content to be bound to a MediaSource. Use the handler for this to set the media content for the source by calling SetStream, SetStreamReference, or SetUri.

public : event TypedEventHandler<MediaBinder, MediaBindingEventArgs> Binding
// Register
event_token Binding(TypedEventHandler<MediaBinder, MediaBindingEventArgs> const& handler) const;

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

// Revoke with event_revoker
Binding_revoker Binding(auto_revoke_t, TypedEventHandler<MediaBinder, MediaBindingEventArgs> const& handler) const;
public event TypedEventHandler<MediaBinder, MediaBindingEventArgs> Binding
Public Event Binding As TypedEventHandler (Of MediaBinder, MediaBindingEventArgs)
function onBinding(eventArgs){/* Your code */}


mediaBinder.addEventListener("binding", onBinding);
mediaBinder.removeEventListener("binding", onBinding);