共用方式為


TimedTextCue 類別

定義

代表 TimedMetadataTrack中的文字提示。

public ref class TimedTextCue sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TimedTextCue final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class TimedTextCue final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TimedTextCue
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class TimedTextCue
function TimedTextCue()
Public NotInheritable Class TimedTextCue
繼承
Object Platform::Object IInspectable TimedTextCue
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

建立TimeTextCue之後,您可以藉由呼叫AddCue將其新增至TimedMetadataTrack

建構函式

TimedTextCue()

初始化 TimedTextCue 類別的新實例。

屬性

CueRegion

取得或設定提示的 TimedTextRegion ,這個提示會定義提示的轉譯區域樣式。

CueStyle

取得或設定提示的 TimedTextStyle ,這個提示會定義轉譯文字的樣式。

Duration

取得或設定提示的持續時間。

Id

取得或設定提示的識別碼。

Lines

取得 TimedTextLine 物件的集合,這些物件會傳達提示的文字。

StartTime

取得提示的開始時間。

適用於

另請參閱