MediaTimelineController.PositionChanged MediaTimelineController.PositionChanged MediaTimelineController.PositionChanged MediaTimelineController.PositionChanged MediaTimelineController.PositionChanged Event

Definition

Occurs when the position of the MediaTimelineController changes.

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

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

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


mediaTimelineController.addEventListener("positionchanged", onPositionChanged);
mediaTimelineController.removeEventListener("positionchanged", onPositionChanged);

Remarks

This event is raised by the system several times per second while the position of the MediaTimelineController is changing.