PlaybackMediaMarker Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mewakili penanda pada lokasi tertentu di garis waktu aliran media.
public ref class PlaybackMediaMarker sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Playback.IPlaybackMediaMarkerFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PlaybackMediaMarker final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Playback.IPlaybackMediaMarkerFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class PlaybackMediaMarker final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Playback.IPlaybackMediaMarkerFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PlaybackMediaMarker
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Playback.IPlaybackMediaMarkerFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class PlaybackMediaMarker
function PlaybackMediaMarker(value, mediaMarketType, text)
Public NotInheritable Class PlaybackMediaMarker
- Warisan
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows 10 (diperkenalkan dalam 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)
|
Konstruktor
PlaybackMediaMarker(TimeSpan) |
Menginisialisasi instans baru kelas PlaybackMediaMarker dengan offset yang ditentukan ke dalam garis waktu media. |
PlaybackMediaMarker(TimeSpan, String, String) |
Menginisialisasi instans baru kelas PlaybackMediaMarker dengan offset yang ditentukan ke dalam garis waktu media, string jenis, dan teks. |
Properti
MediaMarkerType |
Mendapatkan jenis penanda media. |
Text |
Mendapatkan teks yang terkait dengan penanda. |
Time |
Mendapatkan offset di garis waktu media tempat penanda terjadi. |