GlobalSystemMediaTransportControlsSession.TimelinePropertiesChanged 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 properties of this session change.
// Register
event_token TimelinePropertiesChanged(TypedEventHandler<GlobalSystemMediaTransportControlsSession, TimelinePropertiesChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void TimelinePropertiesChanged(event_token const* cookie) const;
// Revoke with event_revoker
GlobalSystemMediaTransportControlsSession::TimelinePropertiesChanged_revoker TimelinePropertiesChanged(auto_revoke_t, TypedEventHandler<GlobalSystemMediaTransportControlsSession, TimelinePropertiesChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<GlobalSystemMediaTransportControlsSession,TimelinePropertiesChangedEventArgs> TimelinePropertiesChanged;
function onTimelinePropertiesChanged(eventArgs) { /* Your code */ }
globalSystemMediaTransportControlsSession.addEventListener("timelinepropertieschanged", onTimelinePropertiesChanged);
globalSystemMediaTransportControlsSession.removeEventListener("timelinepropertieschanged", onTimelinePropertiesChanged);
- or -
globalSystemMediaTransportControlsSession.ontimelinepropertieschanged = onTimelinePropertiesChanged;
Public Custom Event TimelinePropertiesChanged As TypedEventHandler(Of GlobalSystemMediaTransportControlsSession, TimelinePropertiesChangedEventArgs)
Event Type
Windows requirements
App capabilities |
globalMediaControl
|