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) |
设置媒体播放源。 |