TimedTextSource.CreateFromUriWithIndex Method
Definition
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.
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
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
- 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)
|