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