MediaTimelineController.Ended MediaTimelineController.Ended MediaTimelineController.Ended MediaTimelineController.Ended MediaTimelineController.Ended Event

Definition

Occurs when the timeline controller reaches the end of the time window specified by the Duration if IsLoopingEnabled is set to false.

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

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

// Revoke with event_revoker
Ended_revoker Ended(auto_revoke_t, TypedEventHandler<MediaTimelineController, object> const& handler) const;
public event TypedEventHandler<MediaTimelineController, object> Ended
Public Event Ended As TypedEventHandler (Of MediaTimelineController, object)
function onEnded(eventArgs){/* Your code */}


mediaTimelineController.addEventListener("ended", onEnded);
mediaTimelineController.removeEventListener("ended", onEnded);

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)