MediaTimelineController.Failed MediaTimelineController.Failed MediaTimelineController.Failed MediaTimelineController.Failed MediaTimelineController.Failed Event

Definition

Occurs when the timeline controller encounters an internal error and can't continue playback.

public : event TypedEventHandler<MediaTimelineController, MediaTimelineControllerFailedEventArgs> Failed
// Register
event_token Failed(TypedEventHandler<MediaTimelineController, MediaTimelineControllerFailedEventArgs> const& handler) const;

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

// Revoke with event_revoker
Failed_revoker Failed(auto_revoke_t, TypedEventHandler<MediaTimelineController, MediaTimelineControllerFailedEventArgs> const& handler) const;
public event TypedEventHandler<MediaTimelineController, MediaTimelineControllerFailedEventArgs> Failed
Public Event Failed As TypedEventHandler (Of MediaTimelineController, MediaTimelineControllerFailedEventArgs)
function onFailed(eventArgs){/* Your code */}


mediaTimelineController.addEventListener("failed", onFailed);
mediaTimelineController.removeEventListener("failed", onFailed);