Share via


TimedTextSource.CreateFromUriWithIndex Method

Definition

Overloads

CreateFromUriWithIndex(Uri, Uri)

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

CreateFromUriWithIndex(Uri, Uri, String)

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

CreateFromUriWithIndex(Uri, Uri)

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

public:
 static TimedTextSource ^ CreateFromUriWithIndex(Uri ^ uri, Uri ^ indexUri);
/// [Windows.Foundation.Metadata.Overload("CreateFromUriWithIndex")]
 static TimedTextSource CreateFromUriWithIndex(Uri const& uri, Uri const& indexUri);
[Windows.Foundation.Metadata.Overload("CreateFromUriWithIndex")]
public static TimedTextSource CreateFromUriWithIndex(System.Uri uri, System.Uri indexUri);
function createFromUriWithIndex(uri, indexUri)
Public Shared Function CreateFromUriWithIndex (uri As Uri, indexUri As Uri) As TimedTextSource

Parameters

uri
Uri Uri

The URI of the image data from which the timed text source is created.

indexUri
Uri Uri

The URI of the index data from which the timed text source is created.

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

CreateFromUriWithIndex(Uri, Uri, String)

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

public:
 static TimedTextSource ^ CreateFromUriWithIndex(Uri ^ uri, Uri ^ indexUri, Platform::String ^ defaultLanguage);
/// [Windows.Foundation.Metadata.Overload("CreateFromUriWithIndexAndLanguage")]
 static TimedTextSource CreateFromUriWithIndex(Uri const& uri, Uri const& indexUri, winrt::hstring const& defaultLanguage);
[Windows.Foundation.Metadata.Overload("CreateFromUriWithIndexAndLanguage")]
public static TimedTextSource CreateFromUriWithIndex(System.Uri uri, System.Uri indexUri, string defaultLanguage);
function createFromUriWithIndex(uri, indexUri, defaultLanguage)
Public Shared Function CreateFromUriWithIndex (uri As Uri, indexUri As Uri, defaultLanguage As String) As TimedTextSource

Parameters

uri
Uri Uri

The URI of the image data from which the timed text source is created.

indexUri
Uri Uri

The URI of the index data from which the timed text source is created.

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