TimedTextSource.CreateFromStreamWithIndex Method

Definition

Overloads

CreateFromStreamWithIndex(IRandomAccessStream, IRandomAccessStream)

Creates a new instance of TimedTextSource that uses image-based subtitles from the provided image and index streams.

CreateFromStreamWithIndex(IRandomAccessStream, IRandomAccessStream, String)

Creates a new instance of TimedTextSource that uses image-based subtitles from the provided image and index streams and sets the default language.

CreateFromStreamWithIndex(IRandomAccessStream, IRandomAccessStream)

Creates a new instance of TimedTextSource that uses image-based subtitles from the provided image and index streams.

public:
 static TimedTextSource ^ CreateFromStreamWithIndex(IRandomAccessStream ^ stream, IRandomAccessStream ^ indexStream);
/// [Windows.Foundation.Metadata.Overload("CreateFromStreamWithIndex")]
 static TimedTextSource CreateFromStreamWithIndex(IRandomAccessStream const& stream, IRandomAccessStream const& indexStream);
[Windows.Foundation.Metadata.Overload("CreateFromStreamWithIndex")]
public static TimedTextSource CreateFromStreamWithIndex(IRandomAccessStream stream, IRandomAccessStream indexStream);
function createFromStreamWithIndex(stream, indexStream)
Public Shared Function CreateFromStreamWithIndex (stream As IRandomAccessStream, indexStream As IRandomAccessStream) As TimedTextSource

Parameters

stream
IRandomAccessStream

A stream containing the image data for image-based subtitles.

indexStream
IRandomAccessStream

A stream containing the index data for image-based subtitles.

Returns

The new timed text source.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

CreateFromStreamWithIndex(IRandomAccessStream, IRandomAccessStream, String)

Creates a new instance of TimedTextSource that uses image-based subtitles from the provided image and index streams and sets the default language.

public:
 static TimedTextSource ^ CreateFromStreamWithIndex(IRandomAccessStream ^ stream, IRandomAccessStream ^ indexStream, Platform::String ^ defaultLanguage);
/// [Windows.Foundation.Metadata.Overload("CreateFromStreamWithIndexAndLanguage")]
 static TimedTextSource CreateFromStreamWithIndex(IRandomAccessStream const& stream, IRandomAccessStream const& indexStream, winrt::hstring const& defaultLanguage);
[Windows.Foundation.Metadata.Overload("CreateFromStreamWithIndexAndLanguage")]
public static TimedTextSource CreateFromStreamWithIndex(IRandomAccessStream stream, IRandomAccessStream indexStream, string defaultLanguage);
function createFromStreamWithIndex(stream, indexStream, defaultLanguage)
Public Shared Function CreateFromStreamWithIndex (stream As IRandomAccessStream, indexStream As IRandomAccessStream, defaultLanguage As String) As TimedTextSource

Parameters

stream
IRandomAccessStream

A stream containing the image data for image-based subtitles.

indexStream
IRandomAccessStream

A stream containing the index data for image-based subtitles.

defaultLanguage
String

Platform::String

winrt::hstring

A string indicating the default language for the timed text source.

Returns

The new timed text source.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to