MediaTimelineController.Ended Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the timeline controller reaches the end of the time window specified by the Duration if IsLoopingEnabled is set to false.
// Register
event_token Ended(TypedEventHandler<MediaTimelineController, IInspectable const&> const& handler) const;
// Revoke with event_token
void Ended(event_token const* cookie) const;
// Revoke with event_revoker
MediaTimelineController::Ended_revoker Ended(auto_revoke_t, TypedEventHandler<MediaTimelineController, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaTimelineController,object> Ended;
function onEnded(eventArgs) { /* Your code */ }
mediaTimelineController.addEventListener("ended", onEnded);
mediaTimelineController.removeEventListener("ended", onEnded);
- or -
mediaTimelineController.onended = onEnded;
Public Custom Event Ended As TypedEventHandler(Of MediaTimelineController, Object)
Event Type
TypedEventHandler<MediaTimelineController,IInspectable>
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|