Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MediaBreakManager.BreakStarted Event
Definition
- Namespace:
- Windows.Media.Playback
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 playback of a MediaBreak starts.
// Register
event_token BreakStarted(TypedEventHandler<MediaBreakManager, MediaBreakStartedEventArgs const&> const& handler) const;
// Revoke with event_token
void BreakStarted(event_token const* cookie) const;
// Revoke with event_revoker
MediaBreakManager::BreakStarted_revoker BreakStarted(auto_revoke_t, TypedEventHandler<MediaBreakManager, MediaBreakStartedEventArgs const&> const& handler) const;
public event TypedEventHandler<MediaBreakManager,MediaBreakStartedEventArgs> BreakStarted;
function onBreakStarted(eventArgs) { /* Your code */ }
mediaBreakManager.addEventListener("breakstarted", onBreakStarted);
mediaBreakManager.removeEventListener("breakstarted", onBreakStarted);
- or -
mediaBreakManager.onbreakstarted = onBreakStarted;
Public Custom Event BreakStarted As TypedEventHandler(Of MediaBreakManager, MediaBreakStartedEventArgs)
Event Type
Applies to
Feedback
Was this page helpful?
