MediaBreakManager.BreakSkipped 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在跳过 MediaBreak 时发生。
// Register
event_token BreakSkipped(TypedEventHandler<MediaBreakManager, MediaBreakSkippedEventArgs const&> const& handler) const;
// Revoke with event_token
void BreakSkipped(event_token const* cookie) const;
// Revoke with event_revoker
MediaBreakManager::BreakSkipped_revoker BreakSkipped(auto_revoke_t, TypedEventHandler<MediaBreakManager, MediaBreakSkippedEventArgs const&> const& handler) const;
public event TypedEventHandler<MediaBreakManager,MediaBreakSkippedEventArgs> BreakSkipped;
function onBreakSkipped(eventArgs) { /* Your code */ }
mediaBreakManager.addEventListener("breakskipped", onBreakSkipped);
mediaBreakManager.removeEventListener("breakskipped", onBreakSkipped);
- or -
mediaBreakManager.onbreakskipped = onBreakSkipped;
Public Custom Event BreakSkipped As TypedEventHandler(Of MediaBreakManager, MediaBreakSkippedEventArgs)