TimedMetadataTrack.CueEntered 事件

定义

在输入媒体提示的媒体时间窗口时发生。 时间窗口由提示的 StartTimeDuration 定义。

// Register
event_token CueEntered(TypedEventHandler<TimedMetadataTrack, MediaCueEventArgs const&> const& handler) const;

// Revoke with event_token
void CueEntered(event_token const* cookie) const;

// Revoke with event_revoker
TimedMetadataTrack::CueEntered_revoker CueEntered(auto_revoke_t, TypedEventHandler<TimedMetadataTrack, MediaCueEventArgs const&> const& handler) const;
public event TypedEventHandler<TimedMetadataTrack,MediaCueEventArgs> CueEntered;
function onCueEntered(eventArgs) { /* Your code */ }
timedMetadataTrack.addEventListener("cueentered", onCueEntered);
timedMetadataTrack.removeEventListener("cueentered", onCueEntered);
- or -
timedMetadataTrack.oncueentered = onCueEntered;
Public Custom Event CueEntered As TypedEventHandler(Of TimedMetadataTrack, MediaCueEventArgs) 

事件类型

适用于