Table of Contents

Interface IInteractiveMediaSink

Namespace
VAST.Media
Assembly
VAST.Common.dll

Defines the contract for an interactive media sink that provides media control functions to users and controls the associated source.

public interface IInteractiveMediaSink : IMediaSink, IDisposable
Inherited Members

Properties

CanPause

Gets or sets a value indicating whether the sink is capable of pausing.

bool CanPause { get; set; }

Property Value

bool

CanSeek

Gets or sets a value indicating whether the sink is capable of seeking.

bool CanSeek { get; set; }

Property Value

bool

Duration

Gets or sets the sink duration, or Zero if not applicable.

TimeSpan Duration { get; set; }

Property Value

TimeSpan

IsChangeable

Gets or sets a value indicating whether the sink is changeable, meaning the duration will change over time.

bool IsChangeable { get; set; }

Property Value

bool

Methods

AddStream(NewStreamEventArgs)

Adds or updates a media stream.

void AddStream(NewStreamEventArgs streamDescriptor)

Parameters

streamDescriptor NewStreamEventArgs

The stream descriptor containing stream information. For updates, this can contain only the changed data.

Events

ActionRequired

Occurs when a media action is required from the interactive source.

event EventHandler<ActionRequiredEventArgs> ActionRequired

Event Type

EventHandler<ActionRequiredEventArgs>