次の方法で共有


GlobalSystemMediaTransportControlsSession.TimelinePropertiesChanged イベント

定義

このセッションのタイムラインプロパティが変更されたときに発生します。

// 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) 

イベントの種類

Windows の要件

アプリの機能
globalMediaControl

適用対象