IMediaEnginePlaybackSource 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
由媒體引擎播放來源的類別所實作的介面。
public interface class IMediaEnginePlaybackSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1545407399, 14422, 18617, 141, 198, 36, 75, 241, 7, 191, 140)]
struct IMediaEnginePlaybackSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1545407399, 14422, 18617, 141, 198, 36, 75, 241, 7, 191, 140)]
/// [Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
struct IMediaEnginePlaybackSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1545407399, 14422, 18617, 141, 198, 36, 75, 241, 7, 191, 140)]
public interface IMediaEnginePlaybackSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1545407399, 14422, 18617, 141, 198, 36, 75, 241, 7, 191, 140)]
[Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public interface IMediaEnginePlaybackSource
Public Interface IMediaEnginePlaybackSource
- 屬性
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
屬性
CurrentItem |
取得目前播放 的 MediaPlaybackItem。 |
方法
SetPlaybackSource(IMediaPlaybackSource) |
設定媒體播放來源。 |