Table of Contents

Class MediaEventDispatchExtensions

Namespace
Bunit
Assembly
Bunit.Web.dll

Media event dispatch helper extension methods.

public static class MediaEventDispatchExtensions
Inheritance
MediaEventDispatchExtensions
Inherited Members

Methods

CanPlay(IElement)

Raises the @oncanplay event on element, passing an empty (Empty) to the event handler.

public static void CanPlay(this IElement element)

Parameters

element IElement

The element to raise the event on.

CanPlayAsync(IElement)

Raises the @oncanplay event on element, passing an empty (Empty) to the event handler.

public static Task CanPlayAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

CanPlayThrough(IElement)

Raises the @oncanplaythrough event on element, passing an empty (Empty) to the event handler.

public static void CanPlayThrough(this IElement element)

Parameters

element IElement

The element to raise the event on.

CanPlayThroughAsync(IElement)

Raises the @oncanplaythrough event on element, passing an empty (Empty) to the event handler.

public static Task CanPlayThroughAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

CueChange(IElement)

Raises the @oncuechange event on element, passing an empty (Empty) to the event handler.

public static void CueChange(this IElement element)

Parameters

element IElement

The element to raise the event on.

CueChangeAsync(IElement)

Raises the @oncuechange event on element, passing an empty (Empty) to the event handler.

public static Task CueChangeAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

DurationChange(IElement)

Raises the @ondurationchange event on element, passing an empty (Empty) to the event handler.

public static void DurationChange(this IElement element)

Parameters

element IElement

The element to raise the event on.

DurationChangeAsync(IElement)

Raises the @ondurationchange event on element, passing an empty (Empty) to the event handler.

public static Task DurationChangeAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Emptied(IElement)

Raises the @onemptied event on element, passing an empty (Empty) to the event handler.

public static void Emptied(this IElement element)

Parameters

element IElement

The element to raise the event on.

EmptiedAsync(IElement)

Raises the @onemptied event on element, passing an empty (Empty) to the event handler.

public static Task EmptiedAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Pause(IElement)

Raises the @onpause event on element, passing an empty (Empty) to the event handler.

public static void Pause(this IElement element)

Parameters

element IElement

The element to raise the event on.

PauseAsync(IElement)

Raises the @onpause event on element, passing an empty (Empty) to the event handler.

public static Task PauseAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Play(IElement)

Raises the @onplay event on element, passing an empty (Empty) to the event handler.

public static void Play(this IElement element)

Parameters

element IElement

The element to raise the event on.

PlayAsync(IElement)

Raises the @onplay event on element, passing an empty (Empty) to the event handler.

public static Task PlayAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Playing(IElement)

Raises the @onplaying event on element, passing an empty (Empty) to the event handler.

public static void Playing(this IElement element)

Parameters

element IElement

The element to raise the event on.

PlayingAsync(IElement)

Raises the @onplaying event on element, passing an empty (Empty) to the event handler.

public static Task PlayingAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

RateChange(IElement)

Raises the @onratechange event on element, passing an empty (Empty) to the event handler.

public static void RateChange(this IElement element)

Parameters

element IElement

The element to raise the event on.

RateChangeAsync(IElement)

Raises the @onratechange event on element, passing an empty (Empty) to the event handler.

public static Task RateChangeAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Seeked(IElement)

Raises the @onseeked event on element, passing an empty (Empty) to the event handler.

public static void Seeked(this IElement element)

Parameters

element IElement

The element to raise the event on.

SeekedAsync(IElement)

Raises the @onseeked event on element, passing an empty (Empty) to the event handler.

public static Task SeekedAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Seeking(IElement)

Raises the @onseeking event on element, passing an empty (Empty) to the event handler.

public static void Seeking(this IElement element)

Parameters

element IElement

The element to raise the event on.

SeekingAsync(IElement)

Raises the @onseeking event on element, passing an empty (Empty) to the event handler.

public static Task SeekingAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Stalled(IElement)

Raises the @onstalled event on element, passing an empty (Empty) to the event handler.

public static void Stalled(this IElement element)

Parameters

element IElement

The element to raise the event on.

StalledAsync(IElement)

Raises the @onstalled event on element, passing an empty (Empty) to the event handler.

public static Task StalledAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Stop(IElement)

Raises the @onstop event on element, passing an empty (Empty) to the event handler.

public static void Stop(this IElement element)

Parameters

element IElement

The element to raise the event on.

StopAsync(IElement)

Raises the @onstop event on element, passing an empty (Empty) to the event handler.

public static Task StopAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Suspend(IElement)

Raises the @onsuspend event on element, passing an empty (Empty) to the event handler.

public static void Suspend(this IElement element)

Parameters

element IElement

The element to raise the event on.

SuspendAsync(IElement)

Raises the @onsuspend event on element, passing an empty (Empty) to the event handler.

public static Task SuspendAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

TimeUpdate(IElement)

Raises the @ontimeupdate event on element, passing an empty (Empty) to the event handler.

public static void TimeUpdate(this IElement element)

Parameters

element IElement

The element to raise the event on.

TimeUpdateAsync(IElement)

Raises the @ontimeupdate event on element, passing an empty (Empty) to the event handler.

public static Task TimeUpdateAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

VolumeChange(IElement)

Raises the @onvolumechange event on element, passing an empty (Empty) to the event handler.

public static void VolumeChange(this IElement element)

Parameters

element IElement

The element to raise the event on.

VolumeChangeAsync(IElement)

Raises the @onvolumechange event on element, passing an empty (Empty) to the event handler.

public static Task VolumeChangeAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Waiting(IElement)

Raises the @onwaiting event on element, passing an empty (Empty) to the event handler.

public static void Waiting(this IElement element)

Parameters

element IElement

The element to raise the event on.

WaitingAsync(IElement)

Raises the @onwaiting event on element, passing an empty (Empty) to the event handler.

public static Task WaitingAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Progress Telerik

Premium sponsor: Progress Telerik.

Packt

Editorial support provided by Packt.

.NET Foundation

Supported by the .NET Foundation.